/* ==========================================================================
   1. Algemene layout, media & typografie
   ========================================================================== */
html, body {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

::selection {
  color: #ffffff;
  background-color: #8CC540;
}

::-moz-selection {
  color: #ffffff;
  background-color: #8CC540;
}

.rounded-img {
  border-radius: 1rem;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

/* Video iframes responsive houden */
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"],
iframe[src*="youtu.be"],
iframe[src*="vimeo.com"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

p:has(> iframe.cmplz-video) {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100%;
}

p:has(> iframe.cmplz-video) iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Kolomlijsten */
.list-2-cols,
.list-3-cols {
  column-count: 1;
  column-gap: 32px;
  margin-bottom: 20px !important;
}

.list-2-cols li,
.list-3-cols li {
  break-inside: avoid;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .list-2-cols {
    column-count: 2;
  }

  .list-3-cols {
    column-count: 3;
  }
}

/* Lijsten met aangepaste bullets / iconen */
ul.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.checks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
}

ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #8CC540;
}

ul.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.2em + 5px);
  width: 12px;
  height: 12px;
  background-color: #fff;
  -webkit-mask-image: url("https://www.probrace.nl/wp-content/themes/dd_probrace/assets/img/custom-icons/check.svg");
  mask-image: url("https://www.probrace.nl/wp-content/themes/dd_probrace/assets/img/custom-icons/check.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

ul.checks.blue li::before {
  background-color: #34485C;
}

ul.chevron {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.chevron li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

ul.chevron li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 14px;
  height: 24px;
  background-color: #8CC540;
  -webkit-mask-image: url("https://www.probrace.nl/wp-content/themes/dd_probrace/assets/img/custom-icons/chevron-right.svg");
  mask-image: url("https://www.probrace.nl/wp-content/themes/dd_probrace/assets/img/custom-icons/chevron-right.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Badges & notificatiebalken */
.nieuw::after {
  content: "nieuw";
  background-color: #ffcc00;
  color: #34485C !important;
  font-size: 9px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
}

.promo-bar__content a {
  text-decoration: none;
}

.promo-bar__close-button {
  background: #ffffff;
}

.promo-bar__close-button-icon {
  color: #000000;
}

/* Taalswitcher (.com) */
html[lang="en-GB"] .sub-bar__current-language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html[lang="en-GB"] .sub-bar__current-language .mlp-site-flag-icon {
  display: block;
  width: 19px;
  height: 14px;
  flex: 0 0 19px;
  object-fit: cover;
  content: url('/wp-content/themes/dd_probrace/assets/flags/eu.svg');
}

html[lang="en-GB"] .sub-bar__current-language .text {
  font-size: 0 !important;
  line-height: 1;
}

html[lang="en-GB"] .sub-bar__current-language .text::after {
  content: "EN";
  font-size: 1.4rem;
  line-height: 1;
}

.sub-bar__language-nav .site-id-2 a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sub-bar__language-nav .site-id-2 .mlp-site-flag-icon {
  display: block;
  width: 19px;
  height: 14px;
  flex: 0 0 19px;
  object-fit: cover;
  content: url('/wp-content/themes/dd_probrace/assets/flags/eu.svg');
}

/* Knoppen en themakleuren */
.button {
  background: #34485C;
  border-color: #34485C;
}

.button:hover {
  color: #ffffff;
  transform: scale(1.05);
}

.dak-blue {
  background: #8CC540 !important;
  border-color: #8CC540 !important;
  fill: #8CC540 !important;
}

body.home .categories-row__container.card.bg-light-blue a.cat-block span.button.bg-orange { background: #8CC540 !important; border-color: #8CC540 !important; fill: #8CC540 !important; }

div.woocommerce-notices-wrapper div.woocommerce-message .wc-forward,
.wc-single-product__tabs-indicator,
body.archive div#primary div#products-overview ul.products li.product-category .button,
.sib-default-btn,
.shop-button .cart-count,
body.home div.categories-row__container .button,
.woocommerce-account .bg-orange,
.shop-button .bg-orange,
ul.products .bg-orange,
.gform_wrapper .bg-orange,
.orange,
.wc-backward {
  background: #8CC540 !important;
  border-color: #8CC540 !important;
  fill: #8CC540 !important;
}

.categories-row__container.card.bg-light-blue a.cat-block span.button.bg-orange {
  background: inherit !important;
  border-color: inherit !important;
  fill: inherit !important;
}

@media (max-width: 767px) {
  body.home div.categories-row__container .button {
    background: transparent !important;
    border-color: transparent !important;
    fill: currentColor !important;
  }
}

#mobile-cta-buttons .cart-button .cart-count {
  background: #8CC540 !important;
}

.more-link svg,
.orange-color,
.swiper-button,
.addresses .edit,
.woocommerce-orders-table__cell a.view {
  color: #8CC540 !important;
}

/* ==========================================================================
   2. Specifieke onderdelen & pagina's
   ========================================================================== */

/* FAQ & Keuzeblokken */
.faq__question a {
  font-weight: 600;
}

.keuze-blok {
  transition: transform 0.2s ease;
}

.keuze-blok:hover {
  transform: translateY(-4px);
}

@media (max-width: 767px) {
  .big-gap {
    gap: 0rem !important;
  }

  .faq-container {
    margin-bottom: 0rem !important;
  }
}

/* Blessurewijzer */
.injury-indicator {
  padding-bottom: 2.4rem !important;
}

.injury-indicator__column li {
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .injury-indicator__columns {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Blog */
div.single-post__content div.card.bg-white h1,
div.single-post__content div.card.bg-white h2,
div.single-post__content div.card.bg-white h3,
div.single-post__content div.card.bg-white h4,
div.single-post__content div.card.bg-white h5,
div.single-post__content div.card.bg-white h6 {
  color: #000000;
}

.single-post__content h2, .single-post__content .h2 { font: 700 2.5rem/1.5 "Lato",sans-serif; }

body.single-post .single-post__content > .card > p a.button.dak-blue {
  background: #34485C;
  border-color: #34485C;
}

body.single-post div.single-post__content a.button:hover {
  opacity: 0.8;
  color: #ffffff;
}

/* Homepagina */
body.home main#main div.products-row__container ul.products li img {
  border-radius: 1rem;
}

/* Hero */
.page-header__img { right: 2rem !important; }

/* Gravity Forms */
body.page-id-195928 .gform_confirmation_message {
  background: #fff;
  padding: 20px;
  border-radius: 0.5em;
  max-width: max-content;
}

.gform_wrapper .gfield--width-third {
  width: calc(33.333% - 1.2rem);
}

/* ==========================================================================
   3. WooCommerce & Producten
   ========================================================================== */

/* Productoverzichten & prijzen */
.wc-single-product__header .summary .price,
body.home .woocommerce-loop-product__link span.price,
body.archive .woocommerce-loop-product__link span.price,
section.upsell-display a.woocommerce-LoopProduct-link span.price {
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  .woocommerce ul.products,
  .woocommerce[class*="columns-"] ul.products {
    display: flex !important;
    flex-direction: column !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce[class*="columns-"] ul.products li.product,
  .woocommerce ul.products.columns-4 li.product {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 24px !important;
    clear: both !important;
  }
}

/* Filters */
body.archive aside#shop-sidebar div.berocket_single_filter_widget div.bapf_body ul li label span.bapf_clr_span {
  width: 13px;
  height: 13px;
  margin-right: 5px;
  margin-top: 0px;
  border-radius: 6px;
}

/* Enkel product */
.single-product .product .summary form.cart .woocommerce-variation-add-to-cart-disabled {
  opacity: 1 !important;
}

body.single-product .dd-variations__single label a.info-icon svg circle {
  fill: #8CC540 !important;
}

.dd-variations__single .dd-layout__colors li.selected button {
  border: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

/* Back in Stock Notifications */
#wc_bis_product_form {
  background: #F1F7FC;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0.5em;
}

#wc_bis_product_form #wc_bis_send_form,
.wc_bis_send_form {
  background: #34485C !important;
  border-color: #34485C !important;
  fill: #34485C !important;
}

div#wc_bis_product_form input#wc_bis_email.input-text {
  width: 45%;
  float: left;
  max-height: 44px;
  margin-right: 10px;
}

.woocommerce-variation-availability div#wc_bis_already_registered {
  margin-bottom: 40px;
}

.woocommerce-variation-availability div#wc_bis_already_registered .woocommerce-info {
  background: none !important;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0.5em;
  display: inline;
}

/* Sticky Add To Cart (Mobiel / Tablet) */
@media only screen and (max-width: 1023px) {
  .wc-single-product__fixed-bar {
    display: block !important;
    bottom: 58px !important;
    z-index: 55;
  }

  .wc-single-product__fixed-bar .wrap {
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    align-items: center;
  }

  .wc-single-product__fixed-bar .feat-img {
    height: 4.4rem;
    width: 4.4rem;
    padding: 10px;
    flex-shrink: 0;
  }

  .wc-single-product__fixed-bar p.h4 {
    flex: 1;
    min-width: 0;
    font-size: 1.3rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .wc-single-product__fixed-bar .price {
    font-size: 1.5rem;
  }

  .wc-single-product__fixed-bar .button {
    flex-shrink: 0;
    margin-left: auto;
    padding: 10px 14px;
    white-space: nowrap;
  }

  body:has(.wc-single-product__fixed-bar.active) #sleak-html {
    --sleak-button-offset-y: 130px;
  }
}

body:has(.cmplz-cookiebanner.cmplz-show) .wc-single-product__fixed-bar {
  display: none !important;
}

/* ==========================================================================
   4. Winkelmand & Afrekenen (Checkout)
   ========================================================================== */
@media screen and (min-width: 1024px) {
  body.woocommerce-cart .woocommerce .cart-collaterals {
    width: 40rem;
  }

  body.woocommerce-cart .woocommerce .woocommerce-cart-form {
    width: calc(100% - 50rem);
  }

  .woocommerce-checkout ul#shipping_method {
    width: 100%;
    min-width: 200px;
  }
}

.wc-proceed-to-checkout a:hover {
  color: #ffffff;
}

.wc-proceed-to-checkout a,
button[name="woocommerce_checkout_place_order"] {
  padding: 20px;
}

.woocommerce-checkout form#woocommerce-checkout-form-coupon button.button {
  background: #34485C;
  border-color: #34485C;
  height: 48px;
}

.woocommerce .woocommerce-terms-and-conditions-wrapper,
.woocommerce #ws_opt_in_field {
  background: #f7f7f7;
  padding: 14px 16px;
  margin: 0;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}

.woocommerce .woocommerce-terms-and-conditions-wrapper {
  border-top: 1px solid #e5e5e5;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.woocommerce .woocommerce-terms-and-conditions-wrapper p.form-row {
  margin-bottom: 0;
  padding-bottom: 0;
}

.woocommerce #ws_opt_in_field {
  border-top: 0;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0 0 10px 10px;
  padding-top: 0px;
  margin-bottom: 20px;
}

button#place_order {
  background: #8CC540 !important;
  border-color: #8CC540;
}

/* Bedrijfsvelden conditioneel tonen */
@supports selector(:has(*)) {
  .woocommerce-billing-fields__field-wrapper:has(#billing_type_Bedrijf:checked) #billing_company_field,
  .woocommerce-billing-fields__field-wrapper:has(#billing_type_Bedrijf:checked) #woocommerce_eu_vat_number_field {
    display: block !important;
  }

  .woocommerce-billing-fields__field-wrapper:has(#billing_type_Privaat:checked) #billing_company_field,
  .woocommerce-billing-fields__field-wrapper:has(#billing_type_Privaat:checked) #woocommerce_eu_vat_number_field {
    display: none !important;
  }
}

/* Bedanktpagina */
body.woocommerce-checkout #trustcard-container {
  display: none;
}

.woocommerce-order-received td:has(.order-actions-button) {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.woocommerce-order-received .invoice {
  background: #34485C;
  border-color: #34485C;
}

/* Eco-korting & Verzendmethoden */
.woocommerce-shipping-methods li label,
ul#shipping_method li label {
  display: block;
  width: 100%;
}

ul#shipping_method li:has(.shipping_method:checked),
ul.woocommerce-shipping-methods li:has(.shipping_method:checked) {
  border-color: #34485c;
  background: #f1f7fc;
  box-shadow: 0 0 0 1px #34485c;
}

ul#shipping_method li:has(.shipping_method:checked):has(.mh-shipping-row--eco),
ul.woocommerce-shipping-methods li:has(.shipping_method:checked):has(.mh-shipping-row--eco) {
  border-color: #86b817;
  box-shadow: none !important;
}

.woocommerce-shipping-methods .mh-shipping-row,
ul#shipping_method .mh-shipping-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
}

.woocommerce-shipping-methods .mh-shipping-left,
ul#shipping_method .mh-shipping-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.woocommerce-shipping-methods .mh-shipping-title,
ul#shipping_method .mh-shipping-title {
  display: block;
  line-height: 1.2;
  word-break: break-word;
}

.woocommerce-shipping-methods .mh-shipping-subtext,
ul#shipping_method .mh-shipping-subtext {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.3;
  color: #6b7280;
  font-weight: 400;
  word-break: break-word;
}

.woocommerce-shipping-methods .mh-shipping-subtext-inline,
ul#shipping_method .mh-shipping-subtext-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.woocommerce-shipping-methods .mh-subtext-label,
ul#shipping_method .mh-subtext-label {
  display: inline;
  line-height: 1;
}

.woocommerce-shipping-methods .mh-shipping-right,
ul#shipping_method .mh-shipping-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  text-align: right;
  flex: 0 0 auto;
}

.woocommerce-shipping-methods .mh-shipping-price,
ul#shipping_method .mh-shipping-price {
  display: block;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

.woocommerce-shipping-methods .mh-eco-tooltip,
ul#shipping_method .mh-eco-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  color: #6fa21a;
  vertical-align: middle;
  line-height: 1;
}

.woocommerce-shipping-methods .mh-eco-icon,
ul#shipping_method .mh-eco-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  line-height: 1;
}

.woocommerce-shipping-methods .mh-eco-icon svg,
ul#shipping_method .mh-eco-icon svg {
  display: block;
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.woocommerce-shipping-methods .mh-eco-tooltip-bubble,
ul#shipping_method .mh-eco-tooltip-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 9999;
}

.woocommerce-shipping-methods .mh-eco-tooltip-bubble::after,
ul#shipping_method .mh-eco-tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1f2937;
}

.woocommerce-shipping-methods .mh-eco-tooltip:hover .mh-eco-tooltip-bubble,
.woocommerce-shipping-methods .mh-eco-tooltip:focus .mh-eco-tooltip-bubble,
.woocommerce-shipping-methods .mh-eco-tooltip:focus-within .mh-eco-tooltip-bubble,
ul#shipping_method .mh-eco-tooltip:hover .mh-eco-tooltip-bubble,
ul#shipping_method .mh-eco-tooltip:focus .mh-eco-tooltip-bubble,
ul#shipping_method .mh-eco-tooltip:focus-within .mh-eco-tooltip-bubble {
  opacity: 1;
  visibility: visible;
}

.woocommerce-shipping-methods .mh-eco-tooltip:focus,
ul#shipping_method .mh-eco-tooltip:focus {
  outline: none;
}

.woocommerce-shipping-methods .mh-eco-tooltip:focus-visible,
ul#shipping_method .mh-eco-tooltip:focus-visible {
  outline: 2px solid #6fa21a;
  outline-offset: 2px;
  border-radius: 3px;
}

@media (max-width: 767px) {
  .woocommerce-shipping-methods .mh-shipping-row,
  ul#shipping_method .mh-shipping-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .woocommerce-shipping-methods .mh-shipping-left,
  ul#shipping_method .mh-shipping-left {
    width: 100%;
    flex: none;
  }

  .woocommerce-shipping-methods .mh-shipping-right,
  ul#shipping_method .mh-shipping-right {
    width: 100%;
    margin-left: 0;
    align-items: flex-start;
    text-align: left;
    flex: none;
  }

  .woocommerce-shipping-methods .mh-shipping-price,
  ul#shipping_method .mh-shipping-price {
    white-space: normal;
    text-align: left;
  }

  .woocommerce-shipping-methods .mh-shipping-subtext,
  ul#shipping_method .mh-shipping-subtext {
    margin-top: 6px;
  }

  .woocommerce-shipping-methods .mh-shipping-subtext-inline,
  ul#shipping_method .mh-shipping-subtext-inline {
    width: auto;
    flex-wrap: wrap;
  }

  .woocommerce-shipping-methods .mh-shipping-title,
  ul#shipping_method .mh-shipping-title {
    font-size: 13px;
    line-height: 1.25;
  }

  .woocommerce-shipping-methods .mh-eco-tooltip-bubble,
  ul#shipping_method .mh-eco-tooltip-bubble {
    left: 0;
    transform: none;
    white-space: normal;
    min-width: 180px;
    max-width: 220px;
  }

  .woocommerce-shipping-methods .mh-eco-tooltip-bubble::after,
  ul#shipping_method .mh-eco-tooltip-bubble::after {
    left: 12px;
    transform: none;
  }
}

/* ==========================================================================
   5. Mijn account & B2BKing
   ========================================================================== */
.woocommerce-account button.woocommerce-button {
  background: #34485c;
  border-color: #34485c;
}

.woocommerce-account div.woocommerce-MyAccount-content .button {
  background: #8CC540;
  border-color: #8CC540;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
  background: transparent !important;
}

.edit-account fieldset {
  width: 100%;
}

.woocommerce-account .invoice {
  padding: 0px;
  font-weight: 400;
  color: #8CC540;
  font: 600 1.3rem/1.5 "Lato", sans-serif;
  text-decoration: underline;
  background: none;
  border: 0px;
  margin-left: 10px;
}

.oud-account {
  background: #F1F7FC;
  padding: 20px;
  margin-bottom: 30px;
  display: block;
  border-radius: 0.5rem;
  border: 1px solid #D1DCE5;
  line-height: 25px;
}

/* B2BKing functionaliteit */
.b2bking-application-pending {
  font: 400 1.4rem/2 "Lato", sans-serif;
  line-height: 2;
  font-weight: 600;
}

.b2bking_tiered_price_table {
  border-radius: .5rem;
  border: 1px solid #d1dce5;
  margin-top: 30px;
}

.b2bking_tiered_clickable tbody tr:hover,
.b2bking_tiered_clickable tbody tr:hover td {
  background: #F1F7FC;
}

.b2bking_b2b_user .sub-bar .service-bar__menu-wrap .menu,
.b2bking_b2c_user .sub-bar .service-bar__menu-wrap .menu {
  display: none !important;
}

body.b2bking_logged_out div.b2bking-vat-toggle {
  display: none !important;
}

.b2bking_request_custom_quote_button,
#sendcloudshipping_service_point_select {
  background: #34485C !important;
  border-color: #34485C !important;
  fill: #34485C !important;
}

/* ==========================================================================
   6. Merkenoverzicht (Brand thumbnails)
   ========================================================================== */
.brand-thumbnails::before {
  display: none !important;
}

.brand-thumbnails,
.brand-thumbnails.columns-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.brand-thumbnails li,
.brand-thumbnails.columns-4 li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  display: block !important;
  min-width: 0;
}

.brand-thumbnails li.first,
.brand-thumbnails li.last {
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

.brand-thumbnails li::before,
.brand-thumbnails li::after {
  content: none !important;
  display: none !important;
}

.brand-thumbnails li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand-thumbnails li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.brand-thumbnails img {
  display: block;
  max-width: 75%;
  max-height: 65px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .brand-thumbnails,
  .brand-thumbnails.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .brand-thumbnails,
  .brand-thumbnails.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .brand-thumbnails,
  .brand-thumbnails.columns-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. Complianz Cookiebanner
   ========================================================================== */
.cmplz-cookiebanner {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

.cmplz-cookiebanner:not(.cmplz-show) {
  display: none !important;
}

.cmplz-cookiebanner .cmplz-documents,
.cmplz-cookiebanner .cmplz-links,
.cmplz-cookiebanner .cmplz-logo,
.cmplz-cookiebanner .cmplz-divider,
.cmplz-cookiebanner .cmplz-close,
.cmplz-cookiebanner a.cmplz-btn.cmplz-manage-options {
  display: none !important;
}

body:has(.cmplz-cookiebanner.cmplz-show) #sleak-html {
  display: none !important;
}

.cmplz-cookiebanner .cmplz-body {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.cmplz-cookiebanner .cmplz-categories[style*="display: none"],
.cmplz-cookiebanner .cmplz-categories.cmplz-hidden,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences[style*="display: none"],
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences.cmplz-hidden {
  display: none !important;
}

.cmplz-cookiebanner .cmplz-categories {
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
  width: 100%;
}

.cmplz-cookiebanner .cmplz-banner-checkbox input:checked + .cmplz-label,
.cmplz-cookiebanner .cmplz-banner-checkbox input:checked + .cmplz-label::before,
.cmplz-cookiebanner .cmplz-consent-checkbox:checked + .cmplz-label {
  background-color: #8CC540 !important;
  border-color: #8CC540 !important;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
  width: 100% !important;
  min-height: 42px !important;
  margin: 6px 0 0 !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  background: #0b3a5b !important;
  color: #ffffff !important;
  border: none !important;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
  background-color: #0b3a5b !important;
  color: #ffffff !important;
  border: 1px solid #0b3a5b !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
  background-color: #ffffff !important;
  color: #0b3a5b !important;
  border: 1.5px solid #0b3a5b !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  color: #0b3a5b !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  cursor: pointer !important;
}

/* Cookiebanner mobiel / laag scherm */
@media (max-width: 768px), (max-height: 550px) {
  .cmplz-cookiebanner-container {
    overflow: visible !important;
  }

  .cmplz-cookiebanner.cmplz-show {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 14px calc(16px + env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left)) !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    border-top: 3px solid #8CC540 !important;
    box-shadow: 0 -8px 24px rgba(11, 58, 91, 0.18) !important;
  }

  .cmplz-cookiebanner::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
    pointer-events: none;
    background: linear-gradient(to top, rgba(11, 58, 91, 0.12), transparent);
  }

  .cmplz-cookiebanner .cmplz-header,
  .cmplz-cookiebanner .cmplz-body,
  .cmplz-cookiebanner .cmplz-message {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .cmplz-cookiebanner .cmplz-title {
    display: block !important;
    width: 100% !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0b3a5b !important;
    margin: 0 0 6px 0 !important;
    text-align: left !important;
    line-height: 1.3 !important;
  }

  .cmplz-cookiebanner .cmplz-message {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #334155 !important;
    margin: 0 0 12px 0 !important;
    text-align: left !important;
  }

  .cmplz-cookiebanner .cmplz-message p {
    margin: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
  }

  .cmplz-cookiebanner .cmplz-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .cmplz-cookiebanner .cmplz-btn.cmplz-accept,
  .cmplz-cookiebanner .cmplz-btn.cmplz-deny {
    flex: 1 1 calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
    min-height: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 6px 0 0 0 !important;
    font-size: 12px !important;
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
  }
}

/* Cookiebanner desktop */
@media (min-width: 769px) and (min-height: 551px) {
  .cmplz-cookiebanner.cmplz-show {
    display: block !important;
    position: fixed !important;
    left: auto !important;
    right: 24px !important;
    bottom: 24px !important;
    top: auto !important;
    transform: none !important;
    width: 380px !important;
    max-width: 380px !important;
    min-width: 0 !important;
    padding: 18px 18px 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    z-index: 100000 !important;
    background: #ffffff !important;
    border-top: 2px solid #8CC540;
    box-shadow: 0 10px 40px rgba(11, 58, 91, 0.18) !important;
  }

  .cmplz-cookiebanner .cmplz-header,
  .cmplz-cookiebanner .cmplz-body,
  .cmplz-cookiebanner .cmplz-buttons {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .cmplz-cookiebanner .cmplz-header {
    display: block !important;
    width: 100% !important;
  }

  .cmplz-cookiebanner .cmplz-title {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0b3a5b;
    text-align: left;
  }

  .cmplz-cookiebanner .cmplz-message {
    margin: 0 0 14px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #334155;
  }

  .cmplz-cookiebanner .cmplz-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .cmplz-cookiebanner .cmplz-btn {
    float: none !important;
    margin: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .cmplz-cookiebanner .cmplz-btn.cmplz-accept,
  .cmplz-cookiebanner .cmplz-btn.cmplz-deny {
    flex: 1 1 0 !important;
    min-height: 40px !important;
  }

  .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 6px 0 0 !important;
    font-size: 13px !important;
    text-align: left;
  }

  .cmplz-cookiebanner:has(.cmplz-categories:not([style*="display: none"])),
  .cmplz-cookiebanner:has(.cmplz-btn.cmplz-save-preferences:not(.cmplz-hidden)) {
    width: 420px !important;
    max-width: 420px !important;
    max-height: min(80vh, 640px);
    overflow-y: auto;
  }
}

@media (min-width: 1024px) and (min-height: 551px) {
  .cmplz-cookiebanner .cmplz-buttons {
    grid-column-start: auto !important;
    grid-row-start: auto !important;
    display: flex !important;
    flex-direction: row !important;
  }
}

/* Zeer lage landschapschermen */
@media (max-height: 500px) {
  .cmplz-cookiebanner,
  .cmplz-cookiebanner.cmplz-show,
  .cmplz-cookiebanner .cmplz-header,
  .cmplz-cookiebanner .cmplz-body,
  .cmplz-cookiebanner .cmplz-message,
  .cmplz-cookiebanner .cmplz-buttons,
  .cmplz-cookiebanner .cmplz-btn,
  .cmplz-cookiebanner .cmplz-close,
  .cmplz-cookiebanner .cmplz-documents,
  .cmplz-cookiebanner .cmplz-information {
    zoom: 1 !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    transform: none !important;
  }

  .cmplz-cookiebanner.cmplz-show {
    height: auto !important;
    max-height: 90vh !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    gap: 8px !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
  }

  .cmplz-cookiebanner .cmplz-header {
    max-height: none !important;
    margin-bottom: 4px !important;
  }

  .cmplz-cookiebanner .cmplz-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin: 0 0 4px 0 !important;
  }

  .cmplz-cookiebanner .cmplz-message,
  .cmplz-cookiebanner .cmplz-message p {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .cmplz-cookiebanner .cmplz-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn,
  .cmplz-cookiebanner .cmplz-btn.cmplz-accept,
  .cmplz-cookiebanner .cmplz-btn.cmplz-deny {
    zoom: 1 !important;
    height: auto !important;
    min-height: 44px !important;
    max-height: none !important;
    line-height: 1.25 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}