
/* PDP levertijd*/

/* Basistypografie */
.lynqio-toon_levertijd,
.lynqio-stock-status-toon_levertijd {
  font-family: "museo-sans", sans-serif;
  line-height: 1.4;
}

/* Eerste regel (levertijd) */
.lynqio-toon_levertijd {
  position: relative;
  display: block;
  color: #222;
  font-size: 14px;
  font-weight: 400;
  padding-left: 36px; /* iets compacter */
}

/* Icoon links van tekst */
.lynqio-toon_levertijd::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #d6f2d6;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2344a84b" viewBox="0 0 24 24"><path d="M20 8h-3V4H3v13h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-5-4zM8 18a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm12 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2-4h-2a3 3 0 0 0-6 0H9V6h8v3h3l2 1.6V14z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* Vetgedrukte woorden */
.lynqio-toon_levertijd strong {
  font-weight: 700;
}

/* Tweede regel (voorraadstatus) */
.lynqio-stock-status-toon_levertijd {
  margin-block-start: 0px;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  padding-left: 36px;
}

/* Groen knipperend bolletje bij op voorraad */
.lynqio-stock-status-toon_levertijd.instock::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #46cfac;
  margin-right: 6px;
  animation: lynqio-pulse-green 1.8s ease-in-out infinite;
  box-shadow: 0 0 5px rgba(68, 168, 75, 0.4);
}

/* Rood knipperend bolletje bij niet op voorraad */
.lynqio-stock-status-toon_levertijd.outofstock::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #d64545;
  margin-right: 6px;
  animation: lynqio-pulse-red 1.8s ease-in-out infinite;
  box-shadow: 0 0 5px rgba(214, 69, 69, 0.4);
}

/* Tekstkleur */
.lynqio-stock-status-toon_levertijd.instock {
  color: #46cfac;
}

.lynqio-stock-status-toon_levertijd.outofstock {
  color: #d64545;
}

/* Animaties */
@keyframes lynqio-pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

@keyframes lynqio-pulse-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/*alleen mobiel*/
@media screen and (max-width: 480px) {
.lynqio-toon_levertijd {
    font-size: 11px;
}
.lynqio-stock-status-toon_levertijd {
    font-size: 11px;
}
}
/* EINDE PDP levertijd*/


/* categorie page levertijd*/

/* Basistypografie */
.lynqio-levertijd_kort,
.lynqio-stock-status-levertijd_kort {
  font-family: "museo-sans", sans-serif;
  line-height: 1.35;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0; /* ✅ geen margin links */
  padding: 0; /* ✅ geen padding links */
}

/* Eerste regel */
.lynqio-levertijd_kort {
  color: #222;
  font-size: 12px;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 0;
  word-break: break-word;
}

@media screen and (max-width: 768px) {
.lynqio-levertijd_kort {
  font-size: 8px;
  text-align: left;
}
}
  
/* Icoon (vrachtwagen) */
.lynqio-levertijd_kort::before {
  content: "";
  display: inline-block;
  width: 16px;   /* iets groter dan bolletje */
  height: 16px;
  border-radius: 50%;
  background-color: #d6f2d6;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2344a84b" viewBox="0 0 24 24"><path d="M20 8h-3V4H3v13h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-5-4zM8 18a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm12 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2-4h-2a3 3 0 0 0-6 0H9V6h8v3h3l2 1.6V14z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px;
  margin-right: 6px;
}

/* Tweede regel */
.lynqio-stock-status-levertijd_kort {
  font-size: 12px;
  font-weight: 500;
  color: #46cfac;
  margin-top: 2px;
}

/* Groen knipperend bolletje */
.lynqio-stock-status-levertijd_kort.instock::before {
  content: "";
  display: inline-block;
  width: 7px;   /* ✅ kleiner dan icoon */
  height: 7px;
  border-radius: 50%;
  background-color: #46cfac;
  margin-right: 6px;
  animation: lynqio-pulse-green 1.8s ease-in-out infinite;
  box-shadow: 0 0 2px rgba(68,168,75,0.4);
}

/* Rood knipperend bolletje */
.lynqio-stock-status-levertijd_kort.outofstock::before {
  content: "";
  display: inline-block;
  width: 7px;   /* ✅ zelfde kleine formaat */
  height: 7px;
  border-radius: 50%;
  background-color: #d64545;
  margin-right: 6px;
  animation: lynqio-pulse-red 1.8s ease-in-out infinite;
  box-shadow: 0 0 2px rgba(214,69,69,0.4);
}

/* Rode tekstkleur */
.lynqio-stock-status-levertijd_kort.outofstock {
  color: #d64545;
}

/* Animaties */
@keyframes lynqio-pulse-green {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

@keyframes lynqio-pulse-red {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* einde categorie page levertijd*/

/* --- CART levertijd in categorie-stijl --- */

/* Basistypografie */
.lynqio-levertijd_cart,
.lynqio-stock-status-levertijd_cart {
  font-family: "museo-sans", sans-serif;
  line-height: 1.35;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

/* Eerste regel (levertijd) */
.lynqio-levertijd_cart {
  color: #222;
  font-size: 11px;
  font-weight: 400;
  margin-top: 4px;  /* in cart iets minder ruimte */
  margin-bottom: -10px;
  word-break: break-word;
}

@media screen and (max-width: 768px) {
.lynqio-levertijd_cart {
  font-size: 8px;
  text-align: left;
}
}

/* Icoon (vrachtwagen) */
.lynqio-levertijd_cart::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #d6f2d6;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2344a84b" viewBox="0 0 24 24"><path d="M20 8h-3V4H3v13h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-5-4zM8 18a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm12 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2-4h-2a3 3 0 0 0-6 0H9V6h8v3h3l2 1.6V14z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px;
  margin-right: 6px;
}

/* Tweede regel (voorraadstatus) */
.lynqio-stock-status-levertijd_cart {
  font-size: 10.4px;
  font-weight: 500;
  color: #46cfac;
  margin-top: -1px;
}

/* Groen knipperend bolletje */
.lynqio-stock-status-levertijd_cart.instock::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #46cfac;
  margin-right: 6px;
  animation: lynqio-pulse-green 1.8s ease-in-out infinite;
  box-shadow: 0 0 2px rgba(68,168,75,0.4);
}

/* Rood knipperend bolletje */
.lynqio-stock-status-levertijd_cart.outofstock::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #d64545;
  margin-right: 6px;
  animation: lynqio-pulse-red 1.8s ease-in-out infinite;
  box-shadow: 0 0 2px rgba(214,69,69,0.4);
}

/* Rode tekstkleur */
.lynqio-stock-status-levertijd_cart.outofstock {
  color: #d64545;
}

/* Animaties */
@keyframes lynqio-pulse-green {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

@keyframes lynqio-pulse-red {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* --- EINDE CART levertijd --- */

/* ============================
   CATEGORIE – GROUPED PRODUCT
   ============================ */

/* Eerste regel: "Alle 4 varianten" of "2 van de 4 varianten" */
.lynqio-grouped-levertijd {
  font-family: "museo-sans", sans-serif;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  color: #222;
  margin-top: 10px;
  margin-bottom: 2px;
  padding: 0;
  line-height: 1.35;
}

/* Groen vrachtwagen-icoon voor grouped levertijd */
.lynqio-grouped-levertijd::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #d6f2d6;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2344a84b" viewBox="0 0 24 24"><path d="M20 8h-3V4H3v13h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-5-4zM8 18a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm12 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm2-4h-2a3 3 0 0 0-6 0H9V6h8v3h3l2 1.6V14z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px;
  margin-right: 6px;
}

/* Groen bolletje (ook bij gedeeltelijke voorraad!!) */
.lynqio-stock-status-levertijd_kort.instock {
  color: #46cfac;
}

@media (max-width: 767px) {
  .lynqio-grouped-levertijd {
    font-size: 8px !important;
  }
}

/* --- EINDE grouped levertijd --- */

/* ============================
   GROUPED PRODUCT TOOLTIP – WORKING VERSION
   ============================ */

.add_levertijd {
 text-align: left !important;
}
.lynqio-grouped-wrapper {
  position: relative;
  display: inline-block;
  width: max-content;
}

/* Info icoon */
.lynqio-info-icon {
  font-size: 12px;
  margin-left: 4px;
  color: #888;
  cursor: pointer;
  user-select: none;
}

.lynqio-info-icon:hover {
  color: #444;
}

/* Tooltip base */
.lynqio-tooltip {
  background: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.16);
  font-family: "museo-sans", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  z-index: 999999;

  width: max-content;
  min-width: 260px;
  max-width: 520px;

  display: none;
}

.lynqio-tooltip-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
  font-size: 13px;
}

/* Tooltip rows als LINKS */
.lynqio-tooltip-row {
  display: flex;
  align-items: center;
  padding: 6px 0;
  font-size: 12px;
  border-bottom: 1px solid rgb(236,236,236);

  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.lynqio-tooltip-row:last-child {
  border-bottom: none;
}

.lynqio-tooltip-row:hover {
  text-decoration: underline;
}

/* Bolletjes */
.lynqio-tooltip-row .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.lynqio-tooltip-row.instock .dot {
  background-color: #46cfac;
}

.lynqio-tooltip-row.outofstock .dot {
  background-color: #d64545;
}

/* ============================
   DESKTOP (≥1025px)
   ============================ */
@media (min-width: 1025px) {

  .lynqio-tooltip {
    position: absolute;
    bottom: calc(100%);
    left: 50%;
    transform: translateX(-50%);
  }

  /* Hover opent tooltip (zolang niet locked) */
  .lynqio-grouped-wrapper:hover:not(.click-active) .lynqio-tooltip {
    display: block;
  }

  /* Klik (lock) opent tooltip */
  .lynqio-grouped-wrapper.click-active .lynqio-tooltip {
    display: block;
  }

  /* Close button standaard verborgen */
  .lynqio-tooltip-close {
    display: none !important;
  }

  /* Alleen tonen bij lock */
  .lynqio-grouped-wrapper.click-active .lynqio-tooltip-close {
    display: block !important;
  }

  .lynqio-tooltip-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #444;
    z-index: 2;
    line-height: 1;
  }
}

/* ============================
   MOBILE + TABLET (≤1024px)
   ============================ */
@media (max-width: 1024px) {

  .lynqio-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: auto !important;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 420px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px 22px;
    border-radius: 16px;
  }

  .lynqio-grouped-wrapper.tap-active .lynqio-tooltip {
    display: block;
  }

  .lynqio-tooltip-close {
    display: block !important;
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
    color: #444;
    z-index: 2;
    line-height: 1;
  }
  .lynqio-tooltip-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999998;
    pointer-events: auto;     /* belangrijk */
    touch-action: none;       /* voorkomt swipes op backdrop */
  }
  /* Als wrapper open is, backdrop tonen */
  .lynqio-grouped-wrapper.tap-active .lynqio-tooltip-backdrop {
    display: block;
  }

  .lynqio-tooltip {
    z-index: 999999;
    overscroll-behavior: contain; /* voorkomt "scroll chain" naar body */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;          /* tooltip mag zelf scrollen */
  }
}

/* Body scroll lock als modal open is */
body.lynqio-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Backdrop overlay (alleen relevant op mobile) */
.lynqio-tooltip-backdrop {
  display: none;
}

/* --- EINDE grouped tooltip levertijd --- */
