/* --- Voortgangsbalk pakketkorting (winkelwagen + zijlade) -----------------
   De korting stond alleen als alinea op de productpagina: een som die de
   bezoeker zelf moest bijhouden. Deze balk doet dat rekenwerk zichtbaar.
   Huisstijl: blauw #324696, groen alleen voor wat binnen is. */
.vs-pakketbar {
    margin: 0 0 16px;
    padding: 16px 18px;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    background: #f7f9fc;
}
.vs-pakketbar__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.vs-pakketbar__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #324696;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
.vs-pakketbar__msg { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: #111827; }

.vs-pakketbar__rail {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: #e3e8ef;
    overflow: hidden;
}
.vs-pakketbar__fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #324696;
    transition: width .35s ease;
}

.vs-pakketbar__groepen {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.vs-pakketbar__groep {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}
.vs-pakketbar__groep a,
.vs-pakketbar__groep > .vs-pakketbar__vink {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid #d7dce5;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.vs-pakketbar__groep a:hover { border-color: #324696; color: #324696; }
/* Zonder link (categorie bestaat niet): kale spans, zelfde chip-opmaak. */
.vs-pakketbar__groep:not(.is-aan):not(:has(a)) {
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid #d7dce5;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}
.vs-pakketbar__groep:not(.is-aan):not(:has(a)) > .vs-pakketbar__vink { padding: 0; border: 0; background: none; }

/* Afgevinkt: groen, geen link meer, want daar hoeft de bezoeker niet heen. */
.vs-pakketbar__groep.is-aan {
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
}
.vs-pakketbar__groep.is-aan > .vs-pakketbar__vink { padding: 0; border: 0; background: none; color: #166534; font-weight: 800; }

.vs-pakketbar.is-behaald { border-color: #bbf7d0; background: #f0fdf4; }
.vs-pakketbar.is-behaald .vs-pakketbar__badge { background: #62b959; }
.vs-pakketbar.is-behaald .vs-pakketbar__fill { background: #62b959; }
.vs-pakketbar.is-behaald .vs-pakketbar__msg { color: #14532d; }

/* De regel onder de chips: hoe deze korting zich verhoudt tot de MEGA Korting
   die al in de prijzen zit, plus de link naar de uitleg. */
.vs-pakketbar__uitleg {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: #5b6474;
}

/* "Hoe werkt het?" — dezelfde link op de productpagina, in de winkelwagen, in
   de zijlade en in de toegevoegd-popup. Blauw en onderstreept: het is een
   gewone tekstlink, geen tweede knop naast de koopknop. */
.vs-mega-link {
    color: #324696;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.vs-mega-link:hover,
.vs-mega-link:focus { color: #2a3065; }

/* Compacte uitvoering voor de zijlade; de zijranden volgen de lijst erboven. */
.vs-pakketbar--compact { margin: 10px 16px 14px; padding: 12px 14px; border-radius: 12px; }
.vs-pakketbar--compact .vs-pakketbar__badge { min-width: 34px; height: 34px; font-size: 12.5px; }
.vs-pakketbar--compact .vs-pakketbar__msg { font-size: 13px; }
.vs-pakketbar--compact .vs-pakketbar__groepen { gap: 6px; }
.vs-pakketbar--compact .vs-pakketbar__groep a,
.vs-pakketbar--compact .vs-pakketbar__groep.is-aan,
.vs-pakketbar--compact .vs-pakketbar__groep:not(.is-aan):not(:has(a)) { padding: 5px 10px; font-size: 12px; }
.vs-pakketbar--compact .vs-pakketbar__uitleg { margin-top: 8px; font-size: 11.5px; }
