/* -----------------------------
    Links
----------------------------- */
.textlink {
  display: inline-block;
  text-decoration: underline;
  cursor: pointer;
}
.textlink:hover {
  text-decoration: none;
}


/* -----------------------------
    Tekstkleuren
----------------------------- */
.text-error {
  color: var(--color-error);
  font-weight: 500;  
}
.text-success {
  color: var(--color-success);
  font-weight: 500;  
}
.text-muted {
  color: var(--color-text-muted);
}

/* -----------------------------
    Buttons
----------------------------- */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.2rem;
  border-radius: .4rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: var(--color-button);
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  color: var(--color-text-inverse);
  width: fit-content;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.btn:hover {
  background: var(--color-button-hover);
}

/* Disabled */
button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled,
.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}


/* -----------------------------
    Button varianten
----------------------------- */
/* Secondary */
.btn-secondary,
button.btn-secondary,
input[type="submit"].btn-secondary {
  background: var(--color-button-sec);
  color: var(--color-text-strong);
}

.btn-secondary:hover,
button.btn-secondary:hover,
input[type="submit"].btn-secondary:hover {
  background: var(--color-button-sec-hover);
}

/* Outline */
.btn-outline {
  background: transparent;
  border: 2px solid;
  background: var(--color-bg-soft);
  border-color: var(--color-button);
  color: var(--color-button);
}

.btn-outline:hover {
  background: var(--color-button);
  color: var(--color-text-inverse);
}

/* Button als link stylen */
.btn-as-link {
  background: none!important;
  border: none;
  padding: 0!important;
  color: var(--color-text-strong);
  text-decoration: underline;
  cursor: pointer;
  box-shadow: none;
  font-weight: normal;
  justify-content: start;
}


/* -----------------------------
    Header navbar
----------------------------- */
.siteLogo {
  height: 3rem;
}
.siteLogo > img {
  height: 100%;
}
.headerNavbar {
  padding: 1rem;
}
header {
  width: 100%;
}
header.hide {
  visibility: hidden;
}
header.fixed {
  position: fixed;
  z-index: 80;
  background-color: var(--back-gradient-100);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.5);
}


/* -----------------------------
    Menu
----------------------------- */
.mainNav ul {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}
.mainNav li {
  width: 100%;
  align-content: center;
}
.mainNav li.active {
  border-bottom: 2px solid var(--brand-color);
  color: var(--brand-color);
}
.mainNav li:hover {
  background-color: var(--brand-color);
  color: var(--color-text-inverse);
}
.mainNav li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  line-height: 1;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  white-space: nowrap;
  gap: 0.25rem;
}
.mainNav .navHamburger {
  display: none;
  cursor: pointer;
  color: var(--brand-color);
}
.mainNav .navHamburger svg {
  height: 2.5rem;
}
.mainNav #navCheck {
  display: none;
}
.mainNav #navCheck:checked ~ ul {
  right: 0;
}
.mainNav #navCheck:checked ~ .navOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0000004d;
  transition: all 0.3s;
  z-index: 99;
}
.mainNav li svg {
  height: 1.5rem;
  flex-shrink: 0;
}

.mainNav .cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--color-error);
  color: var(--color-text-inverse);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 1023px) {
  .mainNav .navHamburger {
    display: block;
  }
  .mainNav ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--color-bg);
    width: 75dvw;
    height: 100dvh;
    transition: all 0.3s;
    padding: 1rem;
    z-index: 100;
    overflow-y: scroll;
  }
}


/* -----------------------------
    Taal selectie
----------------------------- */
.langswitch {
  position: relative; 
}
.langswitch>form {
  display: none;
  position: absolute;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: var(--color-bg-soft);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  left: 0;
  width: 100%;
  flex-direction: column;
  z-index: 101;
}
.langswitch:hover >form {
  display: flex; 
}
.langswitch button {
  all: unset;
  cursor: pointer;
  display: inline-block;
}

/* -----------------------------
    Categorie dropdown menu
----------------------------- */
.category-dropdown-menu {
  display: none;
  color: var(--color-text-strong);
}
.category-dropdown:hover > .category-dropdown-menu {
  display: block;
}
.category-dropdown-menu a {
  padding: .5rem 1rem;
  text-transform: uppercase;
  font-size: .9rem;
  border-bottom: 1px solid var(--color-border);
}
.category-dropdown-menu a:hover {
  background-color: var(--color-button-sec-hover);
}
@media (min-width: 1024px) {
  header:has(.category-dropdown:hover) {
    background-color: var(--color-bg-soft);
  }
  .category-dropdown-menu {
    position: absolute;
    left: 0;
    width: 100vw;
    padding: 2rem 0;
    margin-top: 0;
    z-index: 101;
    transform: translateY(2rem);
    background-color: var(--color-bg-soft);
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
  }
  .category-dropdown-menu::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 2rem;
  }
  .category-dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 200px;
  }
  .category-dropdown-image {
    grid-column: 4;
    grid-row: 1 / span 20;
    padding-left: 1rem;
    align-content: center;
  }
  .category-dropdown-image img {
    width: 200px;
    height: auto;
  }
  #products-link-mobile {
    display: none;
  }
}

@media (max-width: 1023px) {
  .category-dropdown-menu {
    position: relative;
    width: 100%;
    background-color: var(--color-bg);
  }
  .category-dropdown-content {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    display: flex;
    flex-direction: column;
  }
  #products-link::after {
    content: "\25BE";
  }
  #products-link-mobile {
    display: block;
  }
}

/* -----------------------------
    Flash melding
----------------------------- */
.flash {
  padding: 1rem;
  background: var(--color-bg);
  border-radius: .5rem;
  margin-bottom: 1rem;
}
.flash-info {
  border-left: 5px solid;
  border-color: var(--color-info);
}
.flash-success {
  border-left: 5px solid;
  border-color: var(--color-success);
}
.flash-error {
  border-left: 5px solid;
  border-color: var(--color-error);
}
.flash-important {
  background: var(--color-warning);
}


/* -----------------------------
    Breadcrumbs
----------------------------- */
.breadcrumbs {
  color: var(--color-text-muted);
}
.breadcrumbs a {
  text-decoration: underline;
}


/* -----------------------------
    Formulier
----------------------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

label {
  font-size: .9rem;
  display: block;
}

input,
select,
textarea {
  font-size: 1rem;
  width: 100%;
  padding: .7rem 1rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: .45rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--color-border-strong);
}

input:focus:not([type="checkbox"]):not([type="radio"]),
select:focus,
textarea:focus {
  border-color: var(--color-border-strong);
  box-shadow: 0 0 0 3px rgb(80 80 80 / 20%);
}

input[type="checkbox"],input[type="radio"] {
  width: unset;
}


/* -----------------------------
    Icoon
----------------------------- */
.icon::before {
  margin-right: .5rem;
}


/* -----------------------------
    Card
----------------------------- */
.card {
  height: 100%;
  background: var(--color-bg);
  padding: 1.2rem;
  border-radius: .5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  
}


/* -----------------------------
    Account
----------------------------- */
.address-card {
  display: flex;
  justify-content: space-between;
}
.address-wrapper .address-card {
  border: 1px solid var(--color-border);
}
.address-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}









/* -----------------------------
    Categoriepagina's algemeen
----------------------------- */

.category-card {
  display: flex;
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 2rem;
}
.category-card > * {
  position: relative;
  z-index: 1;
}
.category-card .category_desc {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: .5rem;
  z-index: 2;
}
.category-card h2 {
  margin: 0;
  align-self: end;
  color: var(--title-color);
  text-transform: uppercase;
}
.category-card .short_desc {
  align-self: start;
}
.category-card img {
  transition: opacity .3s ease;
  opacity: 1;
  max-height: 100%;
}
.category-card:not(.no-cover)::before {
  content: "";
  position: absolute;
  background-image: var(--cover-image);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: .2;
  filter: grayscale(100%);
  transition: opacity .3s ease, filter .3s ease;
  z-index: 0;
  -webkit-mask-image: linear-gradient(100deg, transparent 15%, black 45%);
  mask-image: linear-gradient(100deg, transparent 15%, black 45%);
}

@media (max-width: 767px) {
  .category-card .category_desc {
    grid-template-rows: auto auto;
    align-content: center;
    flex: 1;
  }
}
.category-card:not(.no-cover).in-view img {
  opacity: 0;
}
.category-card:not(.no-cover).in-view::before {
  opacity: 1;
  filter: grayscale(0%);
}
@media (hover: hover) and (pointer: fine) {
  .category-card:not(.no-cover):hover img {
    opacity: 0;
  }
  .category-card:not(.no-cover):hover::before {
    opacity: 1;
    filter: grayscale(0%);
  }
}


/* -----------------------------
    Hoofd categoriepagina
----------------------------- */
.category-index .category-card {
  height: 400px;
  width: 450px;
  padding: 0; 
  gap: 0; 
  overflow: visible;
}
.category-index img {
  height: auto;
  max-width: 60%;
}
.category-index .category-card:not(.no-cover)::before {
  inset: auto 1rem auto auto;
  border-radius: 50%;
  aspect-ratio: 1/1;
  height: 100%;
  width: auto;
}
.category-index .category_desc {
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .category-index {
    margin: 6rem 0 15rem 0;
  }
  .category-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;    
  }
  .category-index .category-card {
    height: 350px;
    width: auto;
  }
  .category-index .category-card:not(.no-cover)::before {
    max-height: 100%;
    height: auto;
    width: 80%;
  }
  .category-index .category_desc {
    grid-template-rows: auto auto;
    align-content: center;
    flex: 1;
  }
  .category-index .category-card.in-view .category_desc {
    transform: translate(0,-100px);
  }
}
/* Horizontale scroll */
@media (min-width: 768px) {
  html:has(.category-index) {
    overflow-y: scroll;
  }
  body:has(.category-index) header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  body:has(.category-index) footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
  }
  body:has(.category-index) main {
    display: block;
    padding: 0;
  }
  .category-index {
    position: relative;
  }
  .category-stage {
    position: sticky;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
  .category-scroll {
    display: flex;
    gap: 6rem;
    width: max-content;
    will-change: transform;
  }
  .category-scroll > .category {
    opacity: 1;
    transition: opacity .2s ease;
  }
  .category-scroll > .category.category-faded {
    opacity: .4;
  }
  .category-scroll > .category .short_desc {
    transition: opacity .2s ease;
  }
  .category-scroll > .category.category-faded .short_desc {
    opacity: 0;
  }
  .category-index .category-card.in-view .category_desc ,
  .category-index .category-card:hover .category_desc {
    transform: translate(-50px, -100px);
  }
}

/* -----------------------------
    Subcategorieen (ook voor producttiles categorie template; producten als categorie tonen)
----------------------------- */
.category-subcats .category-card {
  height: 250px;
  padding: 1rem 2rem;
  border-radius: .5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  transition: box-shadow .3s ease;
  background-color: var(--color-bg-soft);
}
.category-subcats .category-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  background-color: var(--color-bg);
}
.category-subcats .category-card h2 {
  white-space: unset;
}
.category-subcats .category-card:not(.no-cover)::before {
  inset: 0 0 0 auto;
  aspect-ratio: 12 / 9;
}
.category-subcats img {
  height: 100%;
  mix-blend-mode: multiply;
}
@media (max-width: 767px) {
  .category-subcats .category-card {
    gap: 1rem;
    padding: 1rem;
  }
  .category-subcats .category-card:not(.no-cover)::before {
    aspect-ratio: 1 / 1;
  }
}

/* -----------------------------
    Categoriepagina
----------------------------- */
@media (min-width: 768px) {
  .category-header {
    text-align: center;
  }
}
.category-header .category-short-description {
  font-size: 1.2rem;
  font-style: italic;
  margin: 2rem 0;
}


/* -----------------------------
    Productafbeeldingen
----------------------------- */
.product-img {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: .5rem;
  flex-direction: column;
}
.product-img img {
  max-width: min(100%, var(--img-max-width));
  max-height: min(80vh, var(--img-max-height));
}
.mainImage .product-img img.img-contain:not(.img-transparent) {
  mix-blend-mode: multiply;
}
.addImages .product-img {
  background: var(--back-gradient-polygon);
}
.addImages .product-img:has(img.img-contain) {
  background: #fff;
}
img.img-contain {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
img.img-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img figcaption {
  padding: 1rem;
  text-align: left;
}
/*
@media (min-width: 768px) {
  img.img-landscape {
    aspect-ratio: 4 / 3;
  }
  img.img-portrait {
    aspect-ratio: 3 / 4;
  }
  img.img-square {
    aspect-ratio: 1 / 1;
  }
}
*/
/* ---------------------------------------------------------
   focus
   --------------------------------------------------------- */
.focus .product-img {
  max-height: 80vh;
}
.focus .product-img img {
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.focus .product-img:has(figcaption) img {
  flex: 0 0 60%;
  width: 60%;
  max-width: 60%;
}
.focus .product-img:has(figcaption) figcaption {
  flex: 0 0 40%;
  width: 40%;
  align-self: stretch;
}
.focus .product-img figcaption {
  overflow-wrap: break-word;
  font-size: 1.1rem;
  background: rgb(255 255 255 / 50%);
  z-index: 1;
  align-self: stretch;
  align-content: center;
}
.focus .product-img {
  flex-direction: row;
}
.focus .mainImage .product-img {
  background: var(--back-gradient-polygon);
}
/* de container van contain images uitvullen met een vage versie van dezelfde foto  */
.focus .product-img img {
  position: relative;
  z-index: 1;
}
.focus .product-img:has(img.img-cover)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img-bg);
  background-size: cover;
  background-position: center;
  filter: blur(10px) opacity(0.3);
  transform: scale(1.1);
}

/* ---------------------------------------------------------
   object positie
   --------------------------------------------------------- */
.img-left-center {
  object-position: left center;
}
.img-right-center {
  object-position: right center;
}
.img-center-top {
  object-position: center top;
}
.img-center-bottom {
  object-position: center bottom;
}
.img-left-top {
  object-position: left top;
}
.img-left-bottom {
  object-position: left bottom;
}
.img-right-top {
  object-position: right top;
}
.img-right-bottom {
  object-position: right bottom;
}
.img-center-center {
  object-position: center center;
}



/* -----------------------------
    Afbeelding zoom op mobiel
----------------------------- */

.imgOverlay {
  position: fixed;
  inset: 0;
  height: 100dvh;
  min-height: 100%;
  background: var(--color-bg);
  z-index: 110;
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  place-items: center;
}
.imgOverlay img {
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.imgOverlay .closeIcon {
  position: fixed;
  top: 1rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  background: var(--color-bg);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  line-height: 1;
  font-weight: 500;
  pointer-events: none;
  z-index: 111;
}
.imgOverlay .closeIcon::before {
  content: '×';
}

/* -----------------------------
    Productenoverzicht tabelweergave
----------------------------- */
.product-rows {
  display: grid;
  gap: 1rem;
}
.product-rows > * {
  min-width: 0;
  width: 100%;
}
.product-rows-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg);
  border-radius: .5rem;
  transition: all 0.3s;
}
.product-rows-card > .image::after {
  content: "\2197";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--color-text-inverse);
  background: var(--brand-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.product-rows-card:hover > .image::after {
  opacity: .75;
}
.product-rows-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}
.product-rows-card .image {
  position: relative;
  width: 150px;
  text-align: center;
}
.product-rows-card img {
  width: 100%;
  height: auto;
  border-radius: .5rem;
}
.product-rows-card .name {
  font-size: 1.1rem;
  font-weight: 500;
}
.product-rows-card > .price {
  width: 150px;
}
.product-rows-card > .sku {
  width: 140px;
}
.product-rows-card .name,
.product-rows-card .fitsTo,
.product-rows-card .product-info,
.product-rows-card .shortDesc {
  flex: 1;
}
.product-rows-card .shortDesc img {
  max-height: 200px;
  width: auto;
}
@media (max-width: 767px) {
  .product-rows {
    gap: 1.5rem;
  }
  .product-rows-card {
    flex-direction: column;
    align-items: start;
  }
  .product-rows-card .image {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .product-rows-card .price, 
  .product-rows-card .sku, 
  .product-rows-card .shortDesc,
  .product-rows-card .fitsTo, 
  .product-rows-card .product-info {
    width: 100%;
  }
}

span.sku {
  color: var(--color-text-muted);
}
span.sku::before {
  content: "\26F6";
}
.textParentProd {
  font-size: .8rem;
  color: var(--color-text-muted);
}

/* -----------------------------
    Tekstblok inkorten met lees meer, js doet toggle
----------------------------- */
@media (max-width: 767px) {
  .read-more-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .read-more-content.expanded {
    display: block;
    overflow: visible;
  }
  .read-more-btn {
    display: inline-block;
    color: var(--color-error);
    text-decoration: underline;
    font-weight: bold;
  }
}
@media (min-width: 768px) {
  .read-more-btn {
    display: none;
  }
}

/* -----------------------------
    Zoekpagina
----------------------------- */

@media (min-width: 767px) {
  .results-layout {
    width: min(90vw, 1500px);
    margin-left: calc((min(100% - 2rem, 1200px) - min(90vw, 1500px)) / 2);
    grid-template-columns: 300px minmax(0, 1200px);
  }
}
.filter-group label {
  white-space: nowrap;
}
.filter-update[hidden],
.filter-reset[hidden] {
  display: none;
}
.filter-update, .filter-reset {
  padding: .25rem .5rem;
}
.filter-update {
  background: var(--color-warning);
}
.filter-reset {
  background: var(--color-error);
}

/* -----------------------------
    Categoriepagina met producteigenschappen
----------------------------- */
.productproperty-container {
  position: relative;
}
.productproperty-table {
  position: relative;
}
.productproperty-table .product-row {
  display: table-row;
}
.productproperty-table .cell {
  display: table-cell;
  padding: .75rem;
  vertical-align: middle;
  background: var(--color-bg);
  text-align: center;
}
.productproperty-table .heading .cell {
  background: none;
  font-weight: 700;
}
.productproperty-table .heading {
  position: sticky;
  top: 0;
  background: var(--color-bg-soft);
  z-index: 4;
}
.productproperty-table .image img {
  border-radius: .5rem;
  width: 100%;
}
.productproperty-table .properties-wrapper {
  display: contents;
}
.productproperty-table .property .label {
  display: none;
}
.productproperty-table .property .item {
  padding-bottom: .25rem;
}
.productproperty-table .property .number {
  text-wrap-mode: nowrap;
}

.productproperty-table .property .item:not(:first-child) {
  border-top: 1px solid var(--color-border);
  padding-top: .25rem;
}
@media (min-width: 767px) {
  .productproperty-container {
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    min-width: 100%;
    max-width: calc(100vw - 2rem);
    overflow-x: auto;
  }
  .productproperty-table {
    display: table;
    width: max-content;
    min-width: 100%;
    border-spacing: 0 1rem;
  }
  .productproperty-table .image {
    width: 150px;
    min-width: 150px;
  }
  .productproperty-table .voorraad > span {
    display: none;
  }
  .productproperty-table .product-row:hover .voorraad > span {
    display: block;
    position: absolute;
  }
}
@media (max-width: 767px) {
  
  .productproperty-table {
    display: block;
  }
  .productproperty-table .product-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    border-radius: .5rem;
    background: var(--color-bg);
    overflow: hidden;
    text-align: center;
    padding: 1rem;
    gap: 1rem;
  }
  .productproperty-table .cell {
    display: block;
    width: 100%;
    padding: 0;
    background: none;
  }
  .productproperty-table .cell:first-child {
    border-radius: .5rem 0 0 .5rem;
  }
  .productproperty-table .cell:last-child {
    border-radius: 0 .5rem .5rem 0;
  }
  .productproperty-table .heading {
    display: none;
  }
  .productproperty-table .image img {
    display: inline-block;
    width: min(350px, 70%);
  }
  .productproperty-table .properties-wrapper {
    display: grid;
    grid-template-columns: max-content 1fr;
    row-gap: 1rem;
    column-gap: 1rem;
    padding: 1rem;
    border-block: 1px solid var(--color-border);
  }
  .productproperty-table .property {
    display: contents;
  }
  .productproperty-table .property .value {
    width: min(250px, 100%);
    text-align: left;
  }
  .productproperty-table .property .label {
    display: block;
    font-size: .9rem;
    color: var(--color-text-muted);
    justify-self: end;
  }
}

/* -----------------------------
    Tooltip
----------------------------- */
.tooltip {
  position: relative;
  cursor: help;
}
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 250px;
  padding: 6px 9px;
  background: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s;
  z-index: 80;
}

.tooltip:hover::after,
.tooltip:focus::after,
.tooltip:active::after {
  opacity: 1;
  visibility: visible;
}

/* -----------------------------
    Progress bar (producteigenschappen)
----------------------------- */
  .progress {
    height: 1rem;
    background: var(--color-bg-soft);
    border-radius: .25rem;
    box-shadow: inset 0 0 0 1px var(--brand-color);
    overflow: hidden;
  }
  .progress-bar {
    height: 100%;
    background: var(--brand-color);
  }
  .progress-label {
    white-space: nowrap;
  }
  .propertyMouseLine {
    position: absolute;
    top: 100px;
    bottom: 50px;
    pointer-events: none;
    display: none;
    z-index: 2;
    border-left: 1px dashed var(--color-border-strong);
  }
  .progress-label-width {
    visibility: hidden;
    white-space: nowrap;
  }
  @media (min-width: 767px) {
    .progress-container {
      display: grid;
      position: relative;
    }
    .progress-container::after {
      content: attr(data-label-width);
      visibility: hidden;
      grid-area: 1 / 1;
      white-space: nowrap;
    }
    .progress {
      grid-area: 1 / 1;
    }
    .progress-labels {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      white-space: nowrap;
      text-align:left;
    }
  }

/* -----------------------------
    Productpagina verticale scroll
----------------------------- */
.productPageVertScroll {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  padding-top: 2.5rem;
  column-gap: 3rem;
  row-gap: 3rem;
}
.productPageVertScroll .addImages {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.productInfo {
  gap: 1rem;
}
.productOrder {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: fit-content;
}
.productOrder .addToCart input[type="number"] {
  width: 5rem;
}
.productPropsAndOrder {
  display: flex;
  justify-content: space-between;
  align-content: flex-start;
  flex-wrap: wrap;
  column-gap: 7rem;
  row-gap: 3rem;
  position: relative;
  z-index: 0;
  padding: 3rem 0;
}
.productPropsAndOrder::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(255 255 255 / 40%);
  box-shadow: 0 0 0 100vmax rgb(255 255 255 / 40%);
  clip-path: inset(0 -100vmax);
  inset: -2rem 0;
}
.productPropsAndSparparts {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}
#chosenVariant img {
  width: 250px;
  border-radius: 0.5rem;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--color-border);
}

#chosenVariant:hover img {
  border: 1px solid var(--color-border-strong);
}
#sparepartsSection {
  scroll-margin-top: 2rem;
}
#btn-skiptoorder {
  z-index: 30;
  position: fixed;
  bottom: 2rem;
}

@media (min-width: 768px) {
  .productInfoSub {
    flex-direction: row;
  }
  .productPageVertScroll:not(.forceFocus) .productImages {
    cursor: pointer;
  }
  .productPageVertScroll {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto auto;
    align-items: start;
    padding-top: 0;
    row-gap: 0;
  }
  .productPageVertScroll:not(.focus) .addImages img {
    transition: transform .35s ease, filter .35s ease;
  }
  .productPageVertScroll:not(.focus) .addImages .product-img:hover img {
    transform: scale(1.01);
    filter: brightness(1.05);
  }
  .productPageVertScroll:not(.focus) .mainImage {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
  }
  .productPageVertScroll:not(.focus) .addImages {
    grid-column: 1;
    grid-row: 2;
  }
  .productPageVertScroll:not(.focus) .productInfo {
    padding: 2rem 0;
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* zoom in */
  .productPageVertScroll.focus {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .productPageVertScroll.focus .mainImage {
    grid-row: 1;
    height: auto;
    min-height: 0 !important;
  }
  .productPageVertScroll.focus .addImages {
    margin: 2rem 0;
    grid-row: 2;
    gap: 4rem;
  }
  .productPageVertScroll.focus .productInfo {
    grid-row: 3;
    min-height: 0 !important;
  }  
  #productVariants, #productAccessories {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #productVariants ul, #productAccessories ul {
    text-align: left;
  }
}

/* -----------------------------
    Youtube embed
----------------------------- */
.youtube-embed {
  position: relative;
}
.youtube-embed iframe {
  border-radius: 0.5rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  max-height: 90vh;
}
.youtube-short iframe {
  aspect-ratio: 9 / 16;
}
.youtube-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}
.youtube-overlay:hover {
  background: rgba(255, 255, 255, 0.15);
}
.youtube-overlay.disabled {
  display: none;
}
@media (max-width: 767px) {
  .youtube-overlay {
    display: none;
  }
}


/* -----------------------------
    Product varianten en accessoires
----------------------------- */
.optionGroupContainer {
  place-items: center;
}
.optionGroupContainer .makeChoice  {
  display: none;
  background: var(--color-success-soft);
  padding: .25rem .5rem;
  margin: 1rem;
  border-radius: .25rem;
  color: var(--color-text-inverse);
}
.optionGroupContainer:not(:has(input:checked)) .makeChoice {
  display: block;
}
.option-group {
  display: grid;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 768px) {
  .option-group {
    width: 93vw;
    grid-template-columns: repeat(auto-fit, 210px);
    justify-content: center;
  }
  .option-group-desc {
    max-width: max(550px, min(60%,1000px));
  }
}
@media (max-width: 767px) {
  .option-group:not(.option-group-text) {
    min-width: 0;
    max-width: 100%;
    padding: 1rem 0;
    grid-auto-flow: column;
    grid-auto-columns: 240px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: start;
    -webkit-overflow-scrolling: touch;
  }
}
.option-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.5rem;
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.25rem;
  font-size: 1rem;
  overflow: hidden;
}
.option-group-text .option-value  {
  justify-content: center;
  min-height: 3.5rem;
  gap: 0rem;
}
.option-value:hover {
  border-color: var(--color-border-strong);
}
.option-value.disabled {
  opacity: .4;
}
.option-value input[type="checkbox"],
.option-value input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-label,
.option-value::after {
  display: none;
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--brand-color);
  color: var(--color-text-inverse);
  padding: .25rem .5rem;
  border-radius: .25rem;
  z-index: 1;
}
.option-value.active,
.option-value:has(input:checked) {
  border-color: var(--brand-color);
}
.option-value.active::before,
.option-value:has(input:checked)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-color);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}
.option-value.active::after,
.option-value:has(input:checked)::after {
  content: "\2714";
  display: block;
}
.noMatch .option-value.active::after{
  content: "\2716";
  background: var(--color-error);
}
.variant-msg {
  display: none;
}
.noMatch .variant-msg {
  display: block;
}
.option-title {
  font-weight: 500;
}
.option-desc {
  color: var(--color-text-muted);
  font-size: .9rem;
}
.option-desc ul {
  text-align: left;
}
.option-desc ul ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  font-size: .9rem;
}
.option-desc ul ul li {
  position: relative;
  padding-left: 0;
}
.option-desc ul ul li::before {
  content: "\2192";
  position: absolute;
  left: -1rem;
}
.option-value .image {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: .25rem; 
  overflow: hidden;
}
.option-desc img {
  margin-inline: auto;
}
.option-value .priceRow {
  border-top: 1px solid var(--color-border-strong);
  padding-top: .5rem;
}


/* -----------------------------
    Productproperties
----------------------------- */

.productPropList {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .6rem 1rem;
  min-width: 0;
}
.productPropList li {
  padding-bottom: 0;
  padding-left: 1rem;
}
/* 1 kolom indien geen titels */
.productPropList:not(:has(> dt)) {
  grid-template-columns: 1fr;
}
/* Bij 1 tot 3 producteigenschappen de titels boven de waarde tonen zodat je maximale breedte houdt voor de eigenschap zoals motortype */
@media (max-width: 767px) {
  .productPropList:not(:has(> dt:nth-of-type(4))) {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------
    Voorraad label
----------------------------- */
span.voorraad {
  color: var(--color-text-muted);
}

span.voorraad.opvoorraad {
  color: var(--color-success);
}
span.voorraad.opvoorraad::before {
  content: "\2714";
}

span.voorraad.levertijd {
  color: var(--color-info);
}
span.voorraad.levertijd::before {
  content: "\25F7";
}

span.voorraad.geenvoorraad {
  color: var(--color-warning);
}
span.voorraad.geenvoorraad::before {
  content: "\2716";
}


/* -----------------------------
    Winkelwagen
----------------------------- */
.cart-rows {
  display: grid;
  gap: 1rem;
}
.cart-rows-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: .5rem;
  transition: box-shadow .3s;
  margin-bottom: 0;
}
.cart-rows-card label {
  color: var(--color-text-muted);
}
.cart-rows-card .qty input {
  width: 90px;
}
.cart-rows-card .image img {
  width: 150px;
  height: auto;
  border-radius: .5rem;
}
.cart-rows-card.is-option-from {
  margin-left: 2rem;
}
.cart-rows-card.is-option-from img {
  width: 75px;
}
.cart-rows-card.is-option-from::before{
  content: '\21AA';
}
#order-product-table .cart-rows-card:not(:last-child) {
    border-radius: 0;
    border-bottom: 1px solid var(--color-border-strong);
}

@media (min-width: 768px) {
  .cart-rows-card {
    flex-direction: row;
    align-items: center;
  }
  .cart-rows-card label {
    display: none;
  }
  .cart-rows-card .qty,
  .cart-rows-card .price,
  .cart-rows-card .subtotal {
    width: 120px;
    justify-content: end;
  }
}




/* -----------------------------
    List
----------------------------- */
.productInfoLeft ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.productInfoLeft li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}
.productInfoLeft li::before {
  content: "\25AA";
  color: var(--brand-color);
  position: absolute;
  left: 0;
}


/* -----------------------------
    Prijzen
----------------------------- */
.pricedisplay {
  display: grid;
  grid-template-columns: max-content max-content;
  row-gap: 0.6rem;
  column-gap: 1rem;
  align-items: center;
  position: relative;
  margin-bottom: .5rem;
  color: var(--color-text-muted);
  line-height: 1.1rem;
}
.pricedisplay .price.mark {
  font-weight: 500;
  color: var(--color-success);
  font-size: 1.3rem;
}
.pricedisplay .label {
  text-align: left;
}
.pricedisplay .price {
  text-align: right;
}
.pricedisplay .staffels {
  display: contents;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.pricedisplay .staffels .label::before {
  content: "\25B8";
}
.text-right .pricedisplay {
  justify-content: end;
}
span.oldprice {
  text-decoration: line-through;
  color: var(--color-text-muted);
}


/* -----------------------------
    Checkout
----------------------------- */
.checkout-option input[type="radio"] {
  display: none;
}
.checkout-option {
  cursor: pointer;
  padding: 1rem;
  background: var(--color-bg-soft);
  border-radius: .5rem;
  transition: .2s;
  border: 1px solid transparent;
}
.checkout-option:hover {
  border-color: var(--color-border-strong);
  background: var(--color-bg-section);
}
.checkout-option:has(input:checked) {
  border-color: var(--brand-color);
  background: var(--back-gradient-0);
}
.checkout-option svg {
  width: 3rem;
  height: 2rem;
  object-fit: contain;
  display: block;
}

.orderdone img{
  border-radius: 0.75rem;
  max-width: 100px;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
}

#order-product-table .sumRow {
  border-top: 1px solid var(--color-border-strong);
  background: var(--color-bg-section);
  font-weight: 500;
}

#order-product-table .addRow {
  border-top: 1px solid var(--color-border-strong);
}

.checkout-items > div {
  display: flex;
  flex-direction: column;
}
.checkout-items > div label {
  color: var(--color-text-muted);
}
.checkout-items .is-option-from {
  margin-left: 1rem;
}
.checkout-items .is-option-from::before {
  content: '\21AA';
  position: absolute;
  margin-left: -1.5rem;
}
.checkout-items > div:not(:last-child) {
  border-bottom: 1px solid var(--color-border-strong);
}

@media (min-width: 768px) {
  .checkout-items > div {
    flex-direction: row;
    align-items: center;
  }
  .checkout-items > div label {
    display: none;
  }
  .checkout-items .is-option-from {
    margin-left: 0;
  }
  .checkout-items .is-option-from::before {
    position: relative;
    margin-left: 0rem;
  }
  .checkout-items .qty,
  .checkout-items .price,
  .checkout-items .subtotal {
    width: 120px;
    justify-content: end;
  }
}

/* -----------------------------
    Contact
----------------------------- */
.contact-grid {
  gap: 6rem;
  margin: 6rem 0;
}
.contact-card {
  display: flex; 
  gap: 1rem;
  flex-direction: column;
  align-items: center;
}
.contact-card svg {
  height: 3rem;
  color: var(--brand-color);
}
.contact-card h2 {
  text-transform: uppercase;
  color: var(--brand-color);
  white-space: nowrap;
  margin: 0;
}

@media (min-width: 768px) {
  .contact-grid {
    gap: 3rem;
    margin: 0;
  }
  .contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: min-content auto;
    row-gap: 0.5rem;
  }
  .contact-card > :not(:first-child) {
    grid-column: 2;
  }
  .contact-card > :last-child {
    align-self: start;
  }
}

/* -----------------------------
    Made in Holland
----------------------------- */
.madeNLinset {
  background: var(--color-bg-soft);
  position: absolute;
  left: 0;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
  display: flex;
  flex-direction: row;
  border-radius: 0 .5rem .5rem 0;
  overflow: hidden;
  align-items: center;
  user-select: none;
  z-index: 50;
}
.madeNLinset > .madeNLflag {
  width: 70px;
  height: 50px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.madeNLinset > .madeNLflag > div {
  height:100%;
  width:100%;
}
.madeNLinset > .madeNLflag > .flag-red {
  background: #ae1c28;
}
.madeNLinset > .madeNLflag > .flag-white {
  background: var(--color-bg);
}
.madeNLinset > .madeNLflag > .flag-blue {
  background: #21468b;
}
.madeNLinset .madeNLtext {
  font-family: 'Oswald', sans-serif, system-ui;
  font-size: 1.5rem; 
  font-weight: 400;
  text-transform: uppercase;
  color: var(--title-color);
  margin: 0 2rem;
}
@media (min-width: 768px) {
  .madeNLinset {
    top: 25vh;
  }
  .madeNLinset .madeNLtext {
    margin: 0 6rem 0 2rem;
  }
}


/* -----------------------------
    Klantenservice
----------------------------- */
.customerservice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.customerservice .sidebar a {
  display: block;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}
.customerservice .sidebar a.active {
  border-bottom: 2px solid var(--brand-color);
  color: var(--brand-color);
}
.customerservice .sidebar a:hover {
  background-color: var(--brand-color);
  color: var(--color-text-inverse);
}
.customerservice .section {
  display: none;
  animation: fadeIn .3s ease;
}
.customerservice .section.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (min-width: 768px) {
  .customerservice {
    grid-template-columns: 300px 1fr;
  }
}

  
  
/* -----------------------------
    noUiSlider (instead of noUi css)
----------------------------- */
.noUi-target {
  position: relative;
  height: 0.5rem;
  background: var(--color-bg);
  margin: 0.3rem;
}
.noUi-connect {
  position: absolute;
  height: 100%;
  width: 100%;
  background: var(--color-bg);
  transform-origin: 0 0;
}
.noUi-origin {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  transform-origin: 0 0;
}
.noUi-handle {
  position: absolute;
  top: -4px;
  right: -5px;
  width: 10px;
  height: 16px;
  background: var(--color-border-strong);
  cursor: grab;
  box-sizing: border-box;
}
.noUi-touch-area {
  width: 100%;
  height: 100%;
}
.filter-active .noUi-target {
  border-color: var(--brand-color);
}
.filter-active .noUi-connect {
  background: var(--brand-color);
}
.filter-active .noUi-handle {
  background: var(--brand-color);
}

/* -----------------------------
    quick-fix image gallery category page from migration
----------------------------- */
.category_images br {
  display: none;
}
.category_images a {
  pointer-events: none;
  cursor: default;
}
.category_images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: minmax(0, 50vh);
  gap: 1rem;
  margin: 2rem 0;
}
.category_images img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 0.5rem;
}
@media (max-width: 767px) {
  .category_images {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
}

.prod-specs-list .row {
  display: grid;
  grid-template-columns: 150px auto;
  gap: 1rem;
}