:root {
  --brand-primary: #1d71b8;
  --brand-secondary: #85bb25;
  --text-light: #ffffff;
  --text-dark: #1f2937;
  --bg-primary-soft: #e8edf4;
  --bg-secondary-soft: #e6f1d3;
  --button-font-weight: 700;
  --button-text-transform: none;
  --font-body: system-ui, sans-serif;
  --font-heading: system-ui, sans-serif;
  --surface: #ffffff;
  --surface-alt: #f6f8fb;
  --border-soft: #d7dee8;
  --shadow-soft: 0 18px 40px rgba(18, 39, 66, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --content-width: 1280px;
}

html {
  scroll-behavior: smooth;
}

body.theme-boer-partner {
  margin: 0;
  color: var(--text-dark);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--brand-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--text-dark);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem;
  color: var(--text-dark);
  font-family: var(--font-heading);
  line-height: 1.1;
}

p { margin: 0 0 1rem; }

.site-shell,
.site-header__inner,
.site-footer__inner,
.hero-banner,
.content-grid,
.archive-toolbar,
.single-product-shell,
.related-products-wrap,
.page-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.page-shell--compact {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: var(--admin-offset, 0px);
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(215, 222, 232, 0.9);
}

body.admin-bar {
  --admin-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --admin-offset: 46px;
  }
}

.site-header__top {
  background: var(--brand-primary);
  color: var(--text-light);
  font-size: 0.92rem;
}

.site-header__top .site-shell {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.65rem 0;
}

.site-header__top-left,
.site-header__top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header__top .lang-switcher {
  display: flex;
  flex-direction: row;
  gap: 1em;
  margin: 0;
  padding: 0;
  margin-left: 3em;
}

.otgs-development-site-front-end {
  display: none !important;
}

.site-header__top a { color: var(--text-light); }

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-brand-logo {
	display: block;
	height: auto;
	max-width: 190px !important;
	max-height: 78px;
}

.site-brand-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-primary-soft);
  font-family: var(--font-heading);
  font-weight: 700;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-direction: row-reverse;
}

.header-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.header-catalog-link:hover,
.header-catalog-link:focus {
  background: var(--bg-primary-soft);
  color: var(--brand-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.header-catalog-link__icon {
  width: 0.95em;
  height: 0.95em;
  flex: 0 0 auto;
}

.button,
.button:visited,
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.added_to_cart,
.brand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.3rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--text-light);
  font-weight: var(--button-font-weight);
  font-family: var(--font-body);
  text-decoration: none;
  text-transform: var(--button-text-transform);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.brand-button:hover {
  transform: translateY(-1px);
  color: var(--text-light);
}

.brand-button--secondary,
.archive-filter-toggle,
.woocommerce .button.alt,
.woocommerce button.button.alt {
  background: var(--bg-primary-soft);
  color: var(--text-dark);
  box-shadow: none;
}

.hero-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.hero-banner__content,
.hero-banner__panel,
.page-card,
.widget-card,
.product-card,
.taxonomy-card,
.brand-panel,
.single-summary-card,
.product-attributes-card,
.related-products-wrap {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-banner__content {
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--bg-primary-soft) 0%, #ffffff 60%);
}

.hero-banner__eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-banner__title {
  font-size: clamp(2rem, 4vw, 4rem);
}

.hero-banner__actions,
.brand-panel__actions,
.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-banner__panel {
  padding: 2rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-secondary-soft) 100%);
}

.brand-panel__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.brand-panel__logo-wrap {
  flex: 0 0 auto;
}

.brand-panel__logo {
  max-width: 110px;
  max-height: 60px;
}

.brand-contact-list,
.brand-feature-list,
.product-taxonomy-list,
.product-attribute-list,
.meta-list,
.product-card__meta {
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-contact-list li,
.product-attribute-list li,
.meta-list li,
.product-card__meta li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.brand-contact-list li:last-child,
.product-attribute-list li:last-child,
.meta-list li:last-child,
.product-card__meta li:last-child { border-bottom: 0; }

.page-shell {
  padding: 2rem 0 4rem;
}

.page-card {
  padding: 2rem;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.archive-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 1rem;
}

.archive-toolbar__intro {
  max-width: 58rem;
  flex: 1 1 auto;
}

.archive-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.catalog-search-form {
  margin-bottom: 1rem;
}

.catalog-search-form__inner {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.catalog-search-form input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: #fff;
  font: inherit;
}

.content-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2rem;
  padding: 1.5rem 0 4rem;
}

.content-grid--product {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.shop-sidebar {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.shop-sidebar__inner,
.product-sidebar-stack {
  display: grid;
  gap: 1rem;
}

.widget-card {
  padding: 1.35rem;
}

.widget-title,
.footer-title {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-light);
}

.facetwp-placeholder-text {
  color: #64748b;
}

.facetwp-placeholder-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.facetwp-pill {
  display: inline-flex;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-primary-soft);
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 600;
}

.archive-products .products,
.related-products-wrap .products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* WooCommerce clearfix ::before / ::after valt als grid-item in de grid;
   verberg het zodat de 3-kolom layout correct werkt. */
.archive-products .products::before,
.archive-products .products::after,
.related-products-wrap .products::before,
.related-products-wrap .products::after,
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

ul.products li.product,
.product-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-alt), #ffffff);
}

.product-card__media a,
.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__media img {
  object-fit: cover;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  flex: 1 1 auto;
}

.product-card__title {
  font-size: 1.2rem;
  margin: 0;
}

.product-card__excerpt {
  color: #475569;
  font-size: 0.97rem;
}

.product-taxonomy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-taxonomy-list a {
  display: inline-flex;
  border-radius: 999px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.85rem;
}

.product-card__footer {
  display: grid;
  gap: 0.9rem;
  margin-top: auto;
}

.price {
  color: var(--brand-primary);
  font-weight: 700;
}

.product-card__price--empty {
  color: #475569;
}

.single-product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  padding: 2rem 0 4rem;
}

.single-product__summary-column {
  display: grid;
  gap: 1rem;
}

.single-product__gallery,
.single-summary-card,
.product-attributes-card,
.taxonomy-card,
.brand-panel {
  padding: 1.75rem;
}

.single-product__gallery {
  background: linear-gradient(180deg, var(--surface-alt), #fff);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.boer-product-gallery {
  display: grid;
  gap: 1rem;
}

.boer-product-gallery__stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-soft);
  min-height: 420px;
}

.boer-product-gallery__stage--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.boer-product-gallery__pane {
  display: none;
  width: 100%;
  height: 100%;
}

.boer-product-gallery__pane.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.boer-product-gallery__image,
.boer-product-gallery__video {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #fff;
}

.boer-product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.boer-product-gallery__thumb {
  position: relative;
  width: 84px;
  height: 84px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.boer-product-gallery__thumb.is-active {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(29, 113, 184, 0.16);
}

.boer-product-gallery__thumb-image,
.boer-product-gallery__thumb-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boer-product-gallery__thumb-video-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.boer-product-gallery__thumb-badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.single-summary-card .product_title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.single-summary-card .summary {
  width: 100%;
  float: none;
}

.single-product__sku {
  margin-bottom: 0.8rem;
  color: #475569;
}

.single-summary-card .woocommerce-product-details__short-description,
.single-summary-card .price {
  margin-bottom: 1.2rem;
}

.product-attribute-list strong,
.meta-list strong,
.product-card__meta strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text-dark);
}

.related-products-wrap {
  margin-bottom: 4rem;
  padding: 1.75rem;
}

.taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.taxonomy-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-dark);
}

.taxonomy-card__count {
  color: #64748b;
  font-size: 0.92rem;
}

.site-footer {
  color: var(--text-light);
  background: linear-gradient(135deg, #12304f 0%, #0b2238 50%, var(--brand-primary) 150%);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 3rem 0 1.5rem;
}

.site-footer a { color: #fff; }

.site-footer__widgets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer__bottom {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.92rem;
}

/* ── WooCommerce utility styling ────────────────────────── */

/* Resultaten & ordering */
.woocommerce-result-count {
  color: #475569;
  font-size: 0.94rem;
}

.catalog-ordering .woocommerce-ordering select,
.woocommerce-ordering select {
  min-height: 44px;
  padding: 0.6rem 2rem 0.6rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.94rem;
  cursor: pointer;
  appearance: auto;
}

/* Paginering */
.woocommerce-pagination,
nav.woocommerce-pagination {
  margin-top: 2rem;
  text-align: center;
}

.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}

.woocommerce-pagination ul li a:hover {
  background: var(--bg-primary-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.woocommerce-pagination ul li span.current {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--text-light);
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: #64748b;
}

.woocommerce-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  color: var(--brand-primary);
}

/* WooCommerce info / notices */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.woocommerce-info {
  background: var(--bg-primary-soft);
  border-left: 4px solid var(--brand-primary);
}

.archive-filter-toggle { display: none; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .hero-banner,
  .single-product-shell,
  .site-header__inner,
  .site-footer__inner,
  .content-grid,
  .taxonomy-grid {
    grid-template-columns: 1fr;
  }

  .archive-products .products,
  .related-products-wrap .products,
  ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-sidebar {
    position: static;
  }
}

@media (max-width: 782px) {
  .site-header__top .site-shell,
  .header-actions,
  .hero-banner__actions,
  .brand-panel__actions,
  .main-navigation ul,
  .site-footer__widgets,
  .catalog-search-form__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-filter-toggle {
    display: inline-flex;
  }

  .shop-sidebar {
    display: none;
  }

  .shop-sidebar.is-open {
    display: block;
  }

  .archive-products .products,
  .related-products-wrap .products,
  ul.products {
    grid-template-columns: 1fr;
  }

  .hero-banner__content,
  .hero-banner__panel,
  .page-card,
  .widget-card,
  .single-summary-card,
  .product-attributes-card,
  .taxonomy-card,
  .brand-panel,
  .single-product__gallery {
    padding: 1.35rem;
  }

  .boer-product-gallery__stage {
    min-height: 280px;
  }

  .boer-product-gallery__thumb {
    width: 72px;
    height: 72px;
  }
}

.boer-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.boer-info-table th {
    text-align: left;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    width: 40%;
}
.boer-info-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.product-attributes-card {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.site-footer__socials{
	margin-top:20px;
}

.site-footer__socials .nbp-socials{
	display:flex;
	gap:12px;
	flex-wrap:wrap;
	list-style:none;
	padding:0;
	margin:10px 0 0;
}

.site-footer__socials .nbp-socials__item a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:40px;
	height:40px;
	border-radius:999px;
	background:var(--brand-primary);
	color:var(--text-light);
	text-decoration:none;
	transition:transform .15s ease, opacity .15s ease;
}

.site-footer__socials .nbp-socials__item a:hover{
	transform:translateY(-1px);
	opacity:.92;
}

.site-footer__socials .nbp-socials__item svg{
	width:20px;
	height:20px;
	display:block;
}

#bpq-header-trigger { position: relative; }

.hero-banner__main {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.hero-banner__term-image {
	flex: 0 0 auto;
	width: 96px;
	height: 96px;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

.hero-banner__term-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-banner__text {
	min-width: 0;
}

@media (max-width: 767px) {
	.hero-banner__main {
		align-items: flex-start;
		gap: 1rem;
	}

	.hero-banner__term-image {
		width: 72px;
		height: 72px;
		border-radius: 12px;
	}
}

/* =========================
   Mobile header improvements
   ========================= */

@media (max-width: 1031px) {
  .site-header {
    backdrop-filter: blur(8px);
  }

  .site-header__top .site-shell {
    padding: 0.45rem 0;
    gap: 0.5rem;
  }

  .site-header__top-left,
  .site-header__top-right {
    gap: 0.5rem;
  }

  .site-header__top .lang-switcher {
    margin-left: 0;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 0.75rem 0;
  }

  .site-branding {
    justify-content: center;
  }

  .site-brand-logo {
    max-width: 150px;
    max-height: 56px;
    height: auto !important;
    width: auto !important;
  }

  .main-navigation {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-navigation ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    min-width: max-content;
    padding-bottom: 0.15rem;
  }

  .main-navigation li {
    flex: 0 0 auto;
  }

  .main-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.35rem 0.2rem;
    white-space: nowrap;
  }

  .header-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    right: 0;
  }

  .header-quote-icon {
    flex: 0 0 auto;
  }

  .header-quote-icon .bpq-fab__icon {
    padding: 0.8rem !important;
    font-size: 1.15em !important;
  }

  .header-actions .brand-button {
    flex: 1 1 auto;
    min-height: 44px;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1rem;
    display: none;
  }

  .header-actions .header-catalog-link {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.35rem 0.65rem;
  font-size: 0.92rem;
}
}

@media (max-width: 520px) {
  .site-header__top {
    font-size: 0.84rem;
  }

  .site-brand-logo {
    max-width: 128px;
    max-height: 48px;
  }

  .main-navigation ul {
    gap: 0.55rem;
  }

  .main-navigation a {
    min-height: 38px;
    font-size: 0.95rem;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .header-quote-icon .bpq-fab__icon {
    padding: 0.7rem !important;
  }

  .header-actions .brand-button {
    font-size: 0.95rem;
    padding: 0.72rem 0.9rem;
    display: none;
  }

  .header-actions .header-catalog-link {
  font-size: 0.9rem;
  padding: 0.35rem 0.55rem;
}

.header-catalog-link__icon {
  display: none;
}
}

/* =====================================
   Single product mobile UX improvements
   ===================================== */

@media (max-width: 1031px) {
  .single-product .site-main,
  .single-product .content-area,
  .single-product .woocommerce,
  .single-product div.product {
    overflow-x: clip;
  }

  /* Algemene verticale rust */
  .single-product div.product {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .single-product .woocommerce-breadcrumb {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  /* Product gallery compacter */
  .single-product div.product div.images,
  .single-product div.product .woocommerce-product-gallery {
    margin-bottom: 0.75rem;
  }

  .single-product .woocommerce-product-gallery__wrapper {
    border-radius: 16px;
    overflow: hidden;
  }

  .single-product .flex-control-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-top: 0.5rem;
    scrollbar-width: thin;
  }

  .single-product .flex-control-thumbs li {
    flex: 0 0 64px;
  }

  /* Summary compacter en sterker in hiërarchie */
  .single-product div.product .summary {
    margin-top: 0;
  }

  .single-product .boer-product-header {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }

  .single-product div.product .product_title,
  .single-product .boer-product-header .product_title {
    font-size: 1.85rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
  }

  .single-product div.product p.price,
  .single-product .boer-product-header p.price {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
  }

  /* Meta rustiger */
  .single-product div.product .product_meta,
  .single-product .boer-product-header .product_meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .single-product div.product .product_meta > span,
  .single-product .boer-product-header .product_meta > span {
    margin: 0;
  }

  /* Quote knop prominenter */
  .single-product .boer-quote-button-wrapper {
    margin-top: 0.75rem !important;
  }

  .single-product .boer-quote-button-wrapper .button,
  .single-product .boer-quote-button-wrapper .bpq-add-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    font-size: 1rem;
  }

  /* -----------------------------
     Variants / series selector
     ----------------------------- */

  .single-product .boer-series-selector {
    margin: 0;
  }

  .single-product .boer-series-selector__trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 16px;
  }

  .single-product .boer-series-selector__trigger-media {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 auto;
  }

  .single-product .boer-series-selector__trigger-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .single-product .boer-series-selector__trigger-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .single-product .boer-series-selector__eyebrow {
    font-size: 0.78rem;
    line-height: 1.2;
    opacity: 0.75;
  }

  .single-product .boer-series-selector__primary {
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .single-product .boer-series-selector__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.45rem;
    font-size: 0.84rem;
    line-height: 1.25;
    opacity: 0.88;
  }

  .single-product .boer-series-selector__dot {
    display: none;
  }

  .single-product .boer-series-selector__icon {
    align-self: center;
    font-size: 1rem;
  }

  .single-product .boer-series-selector__dropdown {
    margin-top: 0.5rem;
    border-radius: 16px;
    overflow: hidden;
  }

  .single-product .boer-series-selector__list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .single-product .boer-series-selector__item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
  }

  .single-product .boer-series-selector__item + .boer-series-selector__item {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .single-product .boer-series-selector__item-media {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
  }

  .single-product .boer-series-selector__item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .single-product .boer-series-selector__item-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
  }

  .single-product .boer-series-selector__item-title {
    font-size: 0.95rem;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .single-product .boer-series-selector__item-sku,
  .single-product .boer-series-selector__item-price {
    font-size: 0.83rem;
    line-height: 1.2;
    opacity: 0.82;
  }

  /* Beschrijving / content blokken */
  .single-product .woocommerce-tabs,
  .single-product .product-details,
  .single-product .entry-summary + .woocommerce-tabs {
    margin-top: 1.5rem;
  }

  .single-product .woocommerce-tabs ul.tabs {
    display: none;
  }

  .single-product .woocommerce-Tabs-panel,
  .single-product .woocommerce-tabs .panel {
    padding: 1rem 0 0;
    margin: 0 0 1.25rem;
  }

  /* Related products */
  .single-product .related,
  .single-product .up-sells,
  .single-product .cross-sells {
    margin-top: 2rem;
  }

  .single-product .related > h2,
  .single-product .up-sells > h2,
  .single-product .cross-sells > h2 {
    font-size: 1.3rem;
    line-height: 1.15;
    margin-bottom: 0.9rem;
  }
}

@media (max-width: 1031px) {
  .single-product div.product {
    gap: 1rem;
  }

  .single-product div.product .product_title,
  .single-product .boer-product-header .product_title {
    font-size: 1.65rem;
  }

  .single-product div.product p.price,
  .single-product .boer-product-header p.price {
    font-size: 1.15rem;
  }

  .single-product .boer-series-selector__trigger {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.65rem;
  }

  .single-product .boer-series-selector__trigger-media {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .single-product .boer-series-selector__eyebrow {
    font-size: 0.74rem;
  }

  .single-product .boer-series-selector__primary {
    font-size: 0.92rem;
  }

  .single-product .boer-series-selector__meta {
    font-size: 0.8rem;
  }

  .single-product .boer-series-selector__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.65rem;
  }

  .single-product .boer-series-selector__item-media {
    width: 44px;
    height: 44px;
  }

  .single-product .boer-series-selector__item-title {
    font-size: 0.9rem;
  }
}

/* =====================================
   Single product mobile layout reorder
   ===================================== */

@media (max-width: 1031px) {
  .single-product .product.type-product,
  .single-product div.product {
    display: flex;
    flex-direction: column;
  }

  .single-product .boer-product-header {
    order: 1;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0 0 1rem;
    border: 0;
  }

  .single-product .boer-product-media {
    order: 2;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0;
  }

  .single-product .boer-product-header > *,
  .single-product .boer-product-media > * {
    max-width: 100%;
  }

  .woocommerce div.product .product-attributes-card {
    order: 3;
  }
  
  .woocommerce div.product .related.products {
    order: 5;
}

.single-product div.product .product_meta > span, .single-product .boer-product-header .product_meta > span {
  display: none;
}

}

/* =====================================
   Product filters – consistent buttons
   ===================================== */

.product-filters .button,
.product-filters button,
.product-filters input[type="submit"],
.product-filters .boer-filters-reset-link,
.product-filters .boer-filters-apply,
.product-filters .boer-filters-submit,
.product-filters .boer-filters-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.8rem 1.1rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

/* Primaire knopstijl voor apply + reset */
.product-filters .boer-filters-reset-link,
.product-filters .boer-filters-apply,
.product-filters .boer-filters-submit,
.product-filters .boer-filters-actions .button,
.product-filters button[type="submit"] {
	background: var(--wp--preset--color--contrast, #111);
	color: #fff;
	border: 1px solid var(--wp--preset--color--contrast, #111);
}

.product-filters .boer-filters-reset-link:hover,
.product-filters .boer-filters-apply:hover,
.product-filters .boer-filters-submit:hover,
.product-filters .boer-filters-actions .button:hover,
.product-filters button[type="submit"]:hover {
	opacity: 0.92;
	color: #fff;
	text-decoration: none;
}

/* Als je reset liever secundair wilt maar wel exact dezelfde vorm */
.product-filters .boer-filters-reset-link.is-secondary {
	background: transparent;
	color: var(--wp--preset--color--contrast, #111);
	border: 1px solid currentColor;
}

/* =====================================
   Product filters – subtielere accordion headers
   ===================================== */

.product-filters details,
.product-filters .boer-filter-group,
.product-filters .boer-filter-accordion {
	border-radius: 16px;
}

.product-filters summary,
.product-filters .boer-filter-group__header,
.product-filters .boer-filter-accordion__trigger,
.product-filters .boer-filter-section__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.8rem 1rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	list-style: none;
}

.product-filters summary::-webkit-details-marker {
	display: none;
}

/* Minder "schreeuwerig" dan nu */
.product-filters summary,
.product-filters .boer-filter-group__header,
.product-filters .boer-filter-accordion__trigger,
.product-filters .boer-filter-section__toggle {
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
}

/* Content eronder compacter */
.product-filters details[open] > *:not(summary),
.product-filters .boer-filter-group__content,
.product-filters .boer-filter-accordion__content,
.product-filters .boer-filter-section__content {
	padding: 0.85rem 0 0.25rem;
}

/* Pijltje subtieler */
.product-filters summary::after,
.product-filters .boer-filter-group__header::after,
.product-filters .boer-filter-accordion__trigger::after,
.product-filters .boer-filter-section__toggle::after {
	content: "▾";
	font-size: 0.9rem;
	line-height: 1;
	opacity: 0.7;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-filters details[open] > summary::after {
	transform: rotate(180deg);
}

/* Als jouw JS een open-state class zet */
.product-filters .is-open > .boer-filter-group__header::after,
.product-filters .is-open > .boer-filter-accordion__trigger::after,
.product-filters .is-open > .boer-filter-section__toggle::after,
.product-filters .boer-filter-group.is-open > .boer-filter-group__header::after {
	transform: rotate(180deg);
}

/* =====================================
   Product filters – spacing refinement
   ===================================== */

.product-filters .boer-filters-shell {
	gap: 1rem;
}

.product-filters .boer-filters-toolbar {
	gap: 0.9rem;
}

.product-filters .boer-filters-toolbar__status {
	gap: 0.75rem;
	align-items: center;
}

.product-filters .boer-filters-result-count {
	font-size: 0.95rem;
	line-height: 1.3;
}

.product-filters .boer-filters-active {
	gap: 0.5rem;
}

.product-filters .boer-filter-chip {
	border-radius: 999px;
	padding: 0.45rem 0.7rem;
	font-size: 0.88rem;
	line-height: 1.2;
}

/* =====================================
   Product filters – mobile refinement
   ===================================== */

@media (max-width: 782px) {
	.product-filters .boer-filters-toolbar {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.product-filters .boer-filters-toolbar__status {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.product-filters .boer-filters-reset-link,
	.product-filters .boer-filters-apply,
	.product-filters .boer-filters-submit,
	.product-filters button[type="submit"] {
		width: 100%;
	}

	.product-filters summary,
	.product-filters .boer-filter-group__header,
	.product-filters .boer-filter-accordion__trigger,
	.product-filters .boer-filter-section__toggle {
		padding: 0.72rem 0.9rem;
		font-size: 0.92rem;
	}
}

.bpq-add-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.bpq-add-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.bpq-add-btn__icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.bpq-add-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bpq-add-btn::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-color: currentColor;

	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5M3.14 5l1.25 5h8.22l1.25-5zM5 13a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0m9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;

	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M0 2.5A.5.5 0 0 1 .5 2H2a.5.5 0 0 1 .485.379L2.89 4H14.5a.5.5 0 0 1 .485.621l-1.5 6A.5.5 0 0 1 13 11H4a.5.5 0 0 1-.485-.379L1.61 3H.5a.5.5 0 0 1-.5-.5M3.14 5l1.25 5h8.22l1.25-5zM5 13a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0m9-1a1 1 0 1 0 0 2 1 1 0 0 0 0-2m-2 1a2 2 0 1 1 4 0 2 2 0 0 1-4 0'/%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}
/* Product header details */
.single-product .boer-product-header__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.single-product .boer-product-header__row {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.95rem;
  line-height: 1.45;
}

.single-product .boer-product-header__label {
  color: rgba(0, 0, 0, 0.58);
  font-weight: 500;
}

.single-product .boer-product-header__value {
  color: inherit;
  font-weight: 600;
}

.single-product .boer-product-header__price {
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .single-product .boer-product-header__row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}


/* Gerelateerde producten slider op single-product */
.related-products-wrap[data-related-products-slider] {
  margin-bottom: 4rem;
  padding: 1.75rem 0;
}

.related-products-wrap__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.related-products-wrap__header h2 {
  margin-bottom: 0;
}

.related-products-wrap__controls {
  display: flex;
  gap: 0.5rem;
}

.related-products-wrap__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--bg-primary-soft);
  color: var(--text-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.related-products-wrap__button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.related-products-wrap__button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.related-products-slider {
  overflow: hidden;
}

.related-products-slider .products {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.related-products-slider .products::-webkit-scrollbar {
  display: none;
}

.related-products-slider .products.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.related-products-slider .products > li.product,
.related-products-slider .products > .product {
  flex: 0 0 calc((100% - 3rem) / 3) !important;
  width: calc((100% - 3rem) / 3) !important;
  max-width: calc((100% - 3rem) / 3) !important;
  scroll-snap-align: start;
  user-select: none;
}

@media (max-width: 1100px) {
  .related-products-slider .products > li.product,
  .related-products-slider .products > .product {
    flex-basis: calc((100% - 1.5rem) / 2) !important;
    width: calc((100% - 1.5rem) / 2) !important;
    max-width: calc((100% - 1.5rem) / 2) !important;
  }
}

@media (max-width: 782px) {
  .related-products-wrap__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-products-slider .products > li.product,
  .related-products-slider .products > .product {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Betere drag/click-interactie voor gerelateerde producten: klikbare varianten blijven werken,
   terwijl horizontaal swipen vanaf de volledige productkaart mogelijk blijft. */
.related-products-slider,
.related-products-slider .products,
.related-products-slider .products > li.product,
.related-products-slider .products > .product,
.related-products-slider .boer-product-card {
  touch-action: pan-y;
}

