/* ==================================================================
BEZOEKER — pagina's rond een lijstje: struc/visit-top.php + visit-bottom.php, view/list.php, view/dialog/item.php,
view/checkout/cart-small.php. Prefix vis-, enkel tokens + het thema van het lijstje:
  --vis-accent  knoppen, chips, titels (visit_theme() in ltd_helper.php, donker genoeg voor witte tekst)
  --vis-font    lettertype van de naam en de titels
  --vis-image   achtergrondbeeld van de hele pagina, --vis-bg kleur eronder, --vis-veil sluier erover
Regel: geen tekst rechtstreeks op de achtergrond, alles staat op een vis-glass paneel. docs/ui/ (Bezoeker)
================================================================== */
:root {
    --vis-accent: var(--lt-blue);
    --vis-accent-soft: color-mix(in srgb, var(--vis-accent) 12%, var(--lt-white));
    --vis-font: inherit;
    --vis-glass: rgba(255, 255, 255, .96);
}

/* ---------- pagina + achtergrond ---------- */
body.vis-body { background: var(--vis-bg, var(--lt-surface)); }
.vis-page { position: relative; min-height: 100vh; padding: 0 32px 140px; color: var(--lt-navy); }
.vis-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--vis-image, linear-gradient(120deg, #EAFBF1 0%, #FCF1E6 55%, #FBEFF1 100%)) center / cover no-repeat;
}
.vis-page::after { content: ''; position: fixed; inset: 0; z-index: -1; background: var(--vis-veil, transparent); pointer-events: none; }
.vis-wrap { max-width: 1180px; margin: 0 auto; }

.vis-glass {
    background: var(--vis-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(12, 35, 62, .06), 0 12px 32px rgba(12, 35, 62, .12);
}

/* ---------- topbalk ---------- */
.vis-top { max-width: 1180px; height: 72px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.vis-top__brand, .vis-top__link {
    height: 38px;
    padding: 0 16px;
    border-radius: var(--lt-radius-pill);
    background: var(--vis-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--lt-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.vis-top__brand { font-size: .9375rem; font-weight: 700; letter-spacing: .04em; }
.vis-top__brand span { font-weight: 400; }
.vis-top__brand:hover, .vis-top__link:hover { color: var(--vis-accent); }
.vis-top__link { font-size: .875rem; font-weight: 500; }
.vis-top__spacer { flex: 1; }

/* mandje: knop in de topbalk + zwevende balk onderaan (view/checkout/cart-small.php, id cartpreview) */
.vis-cartbtn {
    height: 42px;
    padding: 0 14px;
    border-radius: var(--lt-radius-pill);
    background: var(--lt-white);
    color: var(--lt-navy);
    box-shadow: 0 4px 14px rgba(12, 35, 62, .12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}
.vis-cartbtn:hover { color: var(--lt-navy); box-shadow: 0 6px 18px rgba(12, 35, 62, .18); }
.vis-cartbtn__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--lt-radius-pill); background: var(--vis-accent); color: var(--lt-white); font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; }
.vis-cartbtn.is-empty .vis-cartbtn__count { background: var(--lt-subtle); color: var(--lt-muted); }
.vis-cartbar {
    position: fixed;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 30;
    width: calc(100% - 32px);
    max-width: 640px;
    padding: 10px 10px 10px 20px;
    border-radius: var(--lt-radius-lg);
    background: var(--lt-navy);
    color: var(--lt-white);
    box-shadow: 0 24px 60px rgba(12, 35, 62, .3);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
    animation: vis-up .35s var(--lt-ease-out) both;
}
.vis-cartbar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vis-cartbar__text strong { font-size: .9375rem; font-weight: 600; }
.vis-cartbar__text span { font-size: .8125rem; opacity: .75; }
.vis-cartbar .lt-btn { flex: none; background: var(--lt-white); border-color: var(--lt-white); color: var(--lt-navy); }
.vis-cartbar .lt-btn:hover { background: var(--vis-accent-soft); border-color: var(--vis-accent-soft); color: var(--lt-navy); }
/* een toast (lt-toast, showToast()) boven de mandjesbalk in plaats van erop */
body:has(.vis-cartbar) .lt-toast { bottom: calc(108px + env(safe-area-inset-bottom)); }
@keyframes vis-up { from { opacity: 0; transform: translate(-50%, 16px); } }

/* knoppen in themakleur */
.vis-btn { background: var(--vis-accent); border-color: var(--vis-accent); color: var(--lt-white); }
.vis-btn:hover, .vis-btn:focus { background: color-mix(in srgb, var(--vis-accent) 85%, #000); border-color: color-mix(in srgb, var(--vis-accent) 85%, #000); color: var(--lt-white); }

/* ---------- kop: lijstje + welkomstwoord ---------- */
.vis-hero { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; padding-top: 8px; }
.vis-head { flex: 1 1 380px; min-width: 0; padding: 24px; border-top: 6px solid var(--vis-accent); display: flex; align-items: center; gap: 18px; }
.vis-head__avatar {
    width: 88px;
    height: 88px;
    flex: none;
    border-radius: 50%;
    border: 4px solid var(--lt-white);
    box-shadow: 0 0 0 1px var(--lt-line);
    background: var(--vis-accent-soft) center / cover no-repeat;
    color: var(--vis-accent);
    font-family: var(--vis-font);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vis-head__text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.vis-head__type { height: 24px; padding: 0 10px; border-radius: var(--lt-radius-pill); background: var(--vis-accent-soft); color: var(--vis-accent); font-size: .75rem; font-weight: 600; display: inline-flex; align-items: center; }
.vis-page .vis-head__title,
.vis-title { margin: 0; font-family: var(--vis-font); font-weight: 600; line-height: 1.15; color: var(--vis-accent); overflow-wrap: anywhere; }
.vis-page .vis-head__title { font-size: 2.375rem; }
.vis-head__meta { font-size: .875rem; color: var(--lt-muted); }

.vis-welcome { flex: 1 1 380px; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.vis-welcome__head { display: flex; align-items: center; gap: 10px; }
.vis-welcome__icon { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--vis-accent-soft); color: var(--vis-accent); display: flex; align-items: center; justify-content: center; font-size: .875rem; }
.vis-welcome__head strong { flex: 1; min-width: 0; font-size: .875rem; font-weight: 600; }
.vis-welcome__ask { font-size: .8125rem; font-weight: 600; color: var(--vis-accent); text-decoration: none; white-space: nowrap; }
.vis-welcome__ask:hover { color: var(--vis-accent); text-decoration: underline; }
.vis-welcome__text { margin: 0; font-size: .9375rem; line-height: 1.6; color: #33475B; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vis-welcome__toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vis-welcome__toggle:checked ~ .vis-welcome__text { display: block; -webkit-line-clamp: unset; }
.vis-welcome__more { align-self: flex-start; margin: 0; font-size: .8125rem; font-weight: 600; color: var(--vis-accent); cursor: pointer; }
.vis-welcome__more .is-less, .vis-welcome__toggle:checked ~ .vis-welcome__more .is-more { display: none; }
.vis-welcome__toggle:checked ~ .vis-welcome__more .is-less { display: inline; }
.vis-welcome__toggle:focus-visible ~ .vis-welcome__more { outline: 2px solid var(--vis-accent); outline-offset: 2px; }
.vis-welcome { position: relative; }

/* ---------- filters ---------- */
.vis-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 16px; }
.vis-chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.vis-chip { position: relative; }
.vis-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vis-chip label {
    height: 40px;
    margin: 0;
    padding: 0 16px;
    border-radius: var(--lt-radius-pill);
    background: var(--vis-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--lt-navy);
    font-size: .875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(12, 35, 62, .08);
}
.vis-chip label span { font-size: .75rem; opacity: .7; }
.vis-chip input:checked + label { background: var(--vis-accent); color: var(--lt-white); }
.vis-chip input:focus-visible + label { outline: 2px solid var(--vis-accent); outline-offset: 2px; }
.vis-sort { margin-left: auto; height: 40px; padding: 0 6px 0 16px; border-radius: var(--lt-radius-pill); background: var(--vis-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--lt-muted); }
.vis-sort select { height: 36px; border: 0; background: transparent; font-size: .875rem; font-weight: 600; color: var(--lt-navy); cursor: pointer; }
.vis-sort select:focus-visible { outline: 2px solid var(--vis-accent); border-radius: var(--lt-radius-pill); }
.vis-sort__radios { display: none; }

/* ---------- cadeaus: elk een kaart (zoals lt-row--card in de app), 2 kolommen vanaf 1200px ---------- */
.vis-gifts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 16px; }
@media (min-width: 1200px) { .vis-gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vis-gifts .listinfo { grid-column: 1 / -1; }
.vis-gift {
    position: relative;
    padding: 14px 16px;
    border-radius: var(--lt-radius-lg);
    transition: transform .2s var(--lt-ease-out), box-shadow .2s ease;
}
.vis-gift__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; height: 100%; }
.vis-gift:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(12, 35, 62, .08), 0 16px 36px rgba(12, 35, 62, .18); }
.vis-gift__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.vis-gift__link:focus-visible { outline: 2px solid var(--vis-accent); outline-offset: 2px; }
.vis-gift__media { position: relative; width: 84px; height: 84px; flex: none; border-radius: var(--lt-radius); background: var(--lt-white); box-shadow: 0 0 0 1px var(--lt-line); display: flex; align-items: center; justify-content: center; color: var(--lt-faint); font-size: 1.5rem; }
.vis-gift__img { position: absolute; inset: 6px; background: center / contain no-repeat; }
.vis-gift__fav { position: absolute; top: -6px; left: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--vis-accent); color: var(--lt-white); font-size: .6875rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--lt-white); }
.vis-gift__main { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vis-gift__line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.vis-gift__title { font-size: 1rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vis-gift__badge { height: 22px; padding: 0 9px; border-radius: var(--lt-radius-pill); font-size: .75rem; font-weight: 600; display: inline-flex; align-items: center; background: var(--lt-navy); color: var(--lt-white); }
.vis-gift__in.is-incart .vis-gift__badge { background: var(--lt-mint); color: var(--lt-green-ink); }
.vis-gift__shop { font-size: .8125rem; color: var(--lt-muted); }
.vis-gift__shop:empty { display: none; }
.vis-gift__progress { display: flex; align-items: center; gap: 10px; max-width: 360px; }
.vis-gift__bar { flex: 1; height: 6px; border-radius: var(--lt-radius-pill); background: var(--lt-subtle); overflow: hidden; }
.vis-gift__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--vis-accent); }
.vis-gift__saved { font-size: .75rem; color: var(--lt-muted); white-space: nowrap; }
.vis-gift__end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.vis-gift__price { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.vis-gift__cta { min-width: 116px; height: 38px; padding: 0 16px; border-radius: var(--lt-radius-pill); background: var(--vis-accent); color: var(--lt-white); font-size: .875rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.vis-gift__in.is-incart .vis-gift__cta { background: var(--lt-mint); color: var(--lt-green-ink); }
.vis-gift__in.is-reserved .vis-gift__cta { background: var(--lt-subtle); color: var(--lt-muted); }
/* lijstje enkel om te bekijken (reserveren uit): rustige knop, het cadeau zelf niet uitgegrijsd */
.vis-gift__in.is-viewonly .vis-gift__cta { background: transparent; border: 1.5px solid var(--lt-border); color: var(--lt-navy); }
.vis-gift__in.is-reserved .vis-gift__media,
.vis-gift__in.is-reserved .vis-gift__main,
.vis-gift__in.is-reserved .vis-gift__price { opacity: .6; }
.vis-gift:has(.is-reserved):hover { transform: none; }

/* ---------- gesprek-knop + voet ---------- */
.vis-foot { max-width: 1180px; margin: 48px auto 0; padding: 14px 20px; border-radius: var(--lt-radius-pill); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .8125rem; color: var(--lt-muted); }
.vis-foot a { color: var(--lt-muted); }
.vis-foot a:hover { color: var(--vis-accent); }

/* oude inhoud (afronden, bevestiging, gesprek) tot die ook vernieuwd is: leesbaar op een paneel */
.vis-legacy { max-width: 1180px; margin: 8px auto 0; padding: 24px; }
.vis-legacy .panel { background: transparent; box-shadow: none; }

/* ---------- cadeau-dialoog (view/dialog/item.php) ---------- */
.vis-item { display: flex; flex-wrap: wrap; }
.vis-item__media { flex: 1 1 300px; min-height: 260px; padding: 32px; border-right: 1px solid var(--lt-line); display: flex; align-items: center; justify-content: center; background: var(--lt-white); }
.vis-item__media img { max-width: 100%; max-height: 360px; object-fit: contain; }
.vis-item__body { flex: 1 1 360px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.vis-item__labels { display: flex; flex-wrap: wrap; gap: 8px; padding-right: 44px; }
.vis-item__labels:empty { display: none; }
.vis-item__label { height: 24px; padding: 0 10px; border-radius: var(--lt-radius-pill); background: var(--vis-accent-soft); color: var(--vis-accent); font-size: .75rem; font-weight: 600; display: inline-flex; align-items: center; }
.vis-item__label--green { background: var(--lt-mint); color: var(--lt-green-ink); }
.vis-item__title { margin: 0; padding-right: 44px; font-size: 1.5rem; line-height: 1.25; font-weight: 600; overflow-wrap: anywhere; }
.vis-item__labels:not(:empty) + .vis-item__title { padding-right: 0; }
.vis-item__pricerow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.vis-item__price { font-size: 1.625rem; font-weight: 700; }
.vis-item__shop { font-size: .875rem; font-weight: 600; color: var(--vis-accent); text-decoration: none; }
.vis-item__shop:hover { color: var(--vis-accent); text-decoration: underline; }
.vis-item__desc { margin: 0; font-size: .9375rem; line-height: 1.6; color: #33475B; overflow-wrap: anywhere; }
/* lange omschrijving: eerste 6 regels + Lees verder (verborgen vinkje, zoals het welkomstwoord) */
.vis-item__descwrap { position: relative; display: flex; flex-direction: column; gap: 6px; }
.vis-item__desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.vis-item__desctoggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vis-item__desctoggle:checked ~ .vis-item__desc { display: block; -webkit-line-clamp: unset; }
.vis-item__more { align-self: flex-start; margin: 0; font-size: .8125rem; font-weight: 600; color: var(--vis-accent); cursor: pointer; }
.vis-item__more .is-less, .vis-item__desctoggle:checked ~ .vis-item__more .is-more { display: none; }
.vis-item__desctoggle:checked ~ .vis-item__more .is-less { display: inline; }
.vis-item__desctoggle:focus-visible ~ .vis-item__more { outline: 2px solid var(--vis-accent); outline-offset: 2px; }
.vis-item__options { margin: 0; font-size: .875rem; line-height: 1.6; color: #33475B; }
.vis-item__note { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--lt-radius); background: var(--lt-surface); font-size: .8125rem; line-height: 1.5; color: #33475B; }
.vis-item__note > i { margin-top: 3px; color: var(--vis-accent); }
.vis-item__together { padding: 16px; border-radius: var(--lt-radius); background: var(--lt-surface); display: flex; flex-direction: column; gap: 10px; }
.vis-item__progress { display: flex; justify-content: space-between; gap: 10px; font-size: .8125rem; }
.vis-item__progress span { color: var(--lt-muted); }
.vis-item__bar { height: 8px; border-radius: var(--lt-radius-pill); background: var(--lt-subtle); overflow: hidden; }
.vis-item__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--vis-accent); }
.vis-item__check { align-items: center; gap: 10px; margin: 0; padding: 0; font-size: .875rem; font-weight: 600; }
.vis-item__check input:checked + .lt-check__box { background: var(--vis-accent); border-color: var(--vis-accent); }
.vis-item__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.vis-item__field > span { font-size: .875rem; font-weight: 600; }
.vis-item__field .lt-input { max-width: 220px; }
.vis-item__help { font-size: .75rem; color: var(--lt-muted); }
.vis-item__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.vis-item__actions .lt-btn { flex: 1 1 180px; height: 50px; justify-content: center; font-size: 1rem; }
/* "Op mijn lijstje" (niet te reserveren cadeau): gewone knop, geen grote actieknop */
.vis-item__actions .lt-btn.vis-item__pin { flex: 0 0 auto; height: 40px; font-size: .9375rem; }
.vis-item .feedback-container:empty { display: none; }
.vis-item .feedback-container .alert { margin: 0; padding: 12px 14px; border: 0; border-radius: var(--lt-radius); background: var(--lt-coral-soft); color: var(--lt-navy); font-size: .875rem; }

/* ---------- afronden + bevestiging (view/checkout/*) ---------- */
.vis-co, .vis-done { max-width: 1180px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 20px; }
.vis-done { max-width: 820px; }
.vis-cohead { padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.vis-cohead__back { flex-basis: 100%; display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; color: var(--lt-muted); text-decoration: none; }
.vis-cohead__back:hover { color: var(--vis-accent); }
.vis-page .vis-cohead__title { flex: 1 1 260px; font-size: 1.75rem; }
.vis-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.vis-steps li { height: 30px; padding: 0 12px; border-radius: var(--lt-radius-pill); background: var(--lt-subtle); color: var(--lt-muted); font-size: .8125rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.vis-steps li > span { font-weight: 700; }
.vis-steps li.is-done { background: var(--lt-mint); color: var(--lt-green-ink); }
.vis-steps li.is-current { background: var(--vis-accent); color: var(--lt-white); }
.vis-co__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.vis-co__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.vis-co__side { flex: 1 1 320px; min-width: 0; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.vis-co__submit { width: 100%; height: 52px; justify-content: center; font-size: 1rem; }
.vis-co__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vis-co__fields .lt-field, .vis-card > .lt-field { margin: 0; }
.vis-optional { font-weight: 400; color: var(--lt-muted); }

.vis-card { padding: 24px; border-radius: 20px; display: flex; flex-direction: column; gap: 16px; }
.vis-page .vis-card__title { margin: 0; font-family: var(--vis-font); font-size: 1.25rem; font-weight: 600; color: var(--vis-accent); }
.vis-page .vis-card__title--sm { font-size: 1.0625rem; }
.vis-card__text { margin: 0; font-size: .9375rem; line-height: 1.6; color: #33475B; }
.vis-error { padding: 14px 18px; border-radius: var(--lt-radius); background: var(--lt-coral-soft); font-size: .875rem; color: var(--lt-navy); }

/* cadeaurijen (cart-item.php) */
.vis-lines { display: flex; flex-direction: column; }
.vis-line { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 14px; padding: 14px 0; border-top: 1px solid var(--lt-line); }
.vis-line:first-child { padding-top: 0; border-top: 0; }
.vis-line:last-child { padding-bottom: 0; }
.vis-line__media { width: 64px; height: 64px; flex: none; border-radius: var(--lt-radius); background: var(--lt-white) center / contain no-repeat; box-shadow: 0 0 0 1px var(--lt-line); display: flex; align-items: center; justify-content: center; color: var(--lt-faint); font-size: 1.25rem; }
.vis-line__main { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.vis-line__title { font-size: .9375rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.vis-line__sub { font-size: .8125rem; color: var(--lt-muted); }
.vis-line__choice { align-self: flex-start; margin-top: 6px; }
/* gekozen optie in de themakleur (een witte pil op een bijna wit paneel valt weg) */
.vis-line__choice .lt-segmented__input:checked + .lt-segmented__item { background: var(--vis-accent); color: var(--lt-white); box-shadow: none; }
.vis-line__choice .lt-segmented__input:focus-visible + .lt-segmented__item { outline: 2px solid var(--vis-accent); outline-offset: 2px; }
.vis-line__choice .lt-segmented__item { white-space: nowrap; }
.vis-line__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.vis-line__price { flex: none; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.vis-line__remove { flex: none; }

/* anoniem: schakelaar met uitleg */
.vis-toggle { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 16px; border-radius: var(--lt-radius); background: var(--lt-surface); cursor: pointer; }
.vis-toggle .form-check { margin: 2px 0 0; padding-left: 2.75em; min-height: 0; }
.vis-toggle .form-check-input:checked { background-color: var(--vis-accent); border-color: var(--vis-accent); }
.vis-toggle__text { display: flex; flex-direction: column; gap: 2px; }
.vis-toggle__text strong { font-size: .875rem; font-weight: 600; }
.vis-toggle__text span { font-size: .8125rem; color: var(--lt-muted); }

/* betaalwijze */
.vis-pm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vis-pm__option { position: relative; margin: 0; padding: 16px; border: 1.5px solid var(--lt-border); border-radius: var(--lt-radius); background: var(--lt-white); display: flex; gap: 12px; cursor: pointer; }
.vis-pm__option:hover { border-color: var(--lt-faint); }
.vis-pm__option input { margin-top: 3px; accent-color: var(--vis-accent); }
.vis-pm__option:has(input:checked) { border-color: var(--vis-accent); background: var(--vis-accent-soft); }
.vis-pm__body { display: flex; flex-direction: column; gap: 2px; }
.vis-pm__body strong { font-size: .9375rem; font-weight: 600; }
.vis-pm__body span { font-size: .8125rem; color: var(--lt-muted); }

/* akkoord */
.vis-agree { gap: 12px; padding: 18px 24px; }
.vis-agree__line { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: .875rem; line-height: 1.5; color: #33475B; cursor: pointer; }
.vis-agree__line .lt-check { margin: -6px; padding: 6px; flex: none; }
.vis-agree__line .lt-check input:checked + .lt-check__box { background: var(--vis-accent); border-color: var(--vis-accent); }
.vis-agree__line a { color: var(--vis-accent); }

/* overzicht (cart-side.php) */
.vis-sum { gap: 12px; }
.vis-sum__row { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; }
.vis-sum__row span { color: var(--lt-muted); }
.vis-sum__row strong { font-weight: 600; white-space: nowrap; }
.vis-sum__total { padding-top: 12px; border-top: 1px solid var(--lt-line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vis-sum__total span { font-size: .9375rem; font-weight: 600; }
.vis-sum__total strong { font-size: 1.375rem; font-weight: 700; white-space: nowrap; }
.vis-sum__note { margin: 0; font-size: .75rem; line-height: 1.5; color: var(--lt-muted); }

/* betaling: wachten / fout */
.vis-wait { align-items: center; text-align: center; padding: 36px 24px; }
.vis-wait__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--vis-accent-soft); color: var(--vis-accent); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.vis-wait__icon--error { background: var(--lt-coral-soft); color: var(--lt-danger); }
.vis-page .vis-wait__title { font-size: 1.5rem; }
.vis-wait__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* bevestiging */
.vis-done__hero { align-items: center; text-align: center; padding: 32px 28px; }
.vis-done__check { width: 64px; height: 64px; border-radius: 50%; background: var(--lt-mint); color: var(--lt-green-ink); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.vis-page .vis-done__title { font-size: 2rem; }
.vis-done__intro { max-width: 560px; margin: 0; font-size: .9375rem; line-height: 1.6; color: #33475B; }
.vis-done__mail { margin: 0; font-size: .8125rem; color: var(--lt-muted); }
.vis-done__note { flex-direction: row; align-items: flex-start; gap: 12px; padding: 18px 20px; background: color-mix(in srgb, var(--vis-accent-soft) 70%, var(--vis-glass)); }
.vis-done__note strong { display: block; margin-bottom: 4px; font-size: .875rem; font-weight: 600; }
.vis-done__note p { margin: 0; font-size: .9375rem; line-height: 1.6; color: #33475B; }
.vis-done__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vis-done__cards > :only-child { grid-column: 1 / -1; }
.vis-done__cards .vis-card { gap: 8px; padding: 20px; }
.vis-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.vis-done__back { background: var(--vis-glass); }

/* dialogen op de bezoekerspagina's (Zeg eens hallo, verwijderen uit het mandje, …): hoofdknop in de themakleur */
.vis-body .lt-dialog .lt-btn--solid { background: var(--vis-accent); border-color: var(--vis-accent); color: var(--lt-white); }
.vis-body .lt-dialog .lt-btn--solid:hover, .vis-body .lt-dialog .lt-btn--solid:focus { background: color-mix(in srgb, var(--vis-accent) 85%, #000); border-color: color-mix(in srgb, var(--vis-accent) 85%, #000); }
.vis-body .lt-dialog .lt-input:focus { border-color: var(--vis-accent); box-shadow: 0 0 0 3px var(--vis-accent-soft); }

/* ---------- gesprek voor de bezoeker (messages/history.php) + Stel een vraag (view/dialog/question.php) ---------- */
.vis-msg { max-width: 820px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 20px; }
.vis-msg__who { flex: 1 1 300px; min-width: 0; display: flex; align-items: center; gap: 14px; }
.vis-msg__avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--vis-accent-soft); color: var(--vis-accent); font-family: var(--vis-font); font-size: 1.375rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.vis-msg__about { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vis-msg__about > span { font-size: .8125rem; color: var(--lt-muted); }
.vis-page .vis-msg__title { font-size: 1.5rem; }
.vis-msg__view { flex: none; }
.vis-msg__panel { overflow: hidden; display: flex; flex-direction: column; }
.vis-msg .vis-msg__body { max-height: 60vh; min-height: 260px; background: rgba(248, 249, 250, .7); }
.vis-msg .msg-bubble--mine .msg-bubble__text { background: var(--vis-accent); }
.vis-msg .msg-composer { background: transparent; }
.vis-msg .msg-composer__input:focus { border-color: var(--vis-accent); box-shadow: 0 0 0 3px var(--vis-accent-soft); }
.vis-ask .vis-ask__icon { background: var(--vis-accent-soft); color: var(--vis-accent); }
.vis-ask .lt-input:focus { border-color: var(--vis-accent); box-shadow: 0 0 0 3px var(--vis-accent-soft); }
.vis-ask .vis-toggle { margin-bottom: 4px; }
.vis-ask .feedback-container:empty { display: none; }
.vis-ask .feedback-container .alert { margin: 0 0 4px; padding: 12px 14px; border: 0; border-radius: var(--lt-radius); background: var(--lt-coral-soft); color: var(--lt-navy); font-size: .875rem; }

/* ---------- telefoon ---------- */
/* ---------- lijstje gesloten / niet gevonden (view/closed.php) ---------- */
/* geen naam of foto van het lijstje: icoon per soort + slotje */
.vis-closed { max-width: 600px; padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.vis-closed__card { padding: 32px; border-top: 6px solid var(--vis-accent); display: flex; flex-direction: column; gap: 20px; }
.vis-closed__card--plain { border-top-color: var(--lt-blue); }
.vis-closed__head { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--lt-line); }
.vis-closed__icon {
    position: relative;
    width: 76px;
    height: 76px;
    flex: none;
    border-radius: 50%;
    border: 4px solid var(--lt-white);
    box-shadow: 0 0 0 1px var(--lt-line);
    background: var(--vis-accent-soft);
    color: var(--vis-accent);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vis-closed__lock {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid var(--lt-white);
    background: var(--lt-navy);
    color: var(--lt-white);
    font-size: .6875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vis-closed__who { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: .9375rem; color: var(--lt-muted); }
.vis-closed__msg { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.vis-closed__pill { height: 28px; padding: 0 12px; border-radius: var(--lt-radius-pill); background: var(--lt-subtle); color: var(--lt-muted); font-size: .8125rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.vis-closed__pill--notfound { background: var(--lt-coral-soft); color: var(--lt-danger); }
.vis-page .vis-closed__title { font-size: 2rem; }
.vis-closed__card--plain .vis-closed__title { font-family: inherit; color: var(--lt-navy); }
.vis-closed__text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--lt-muted); }
.vis-closed__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lt-btn.vis-closed__save.is-saved { border-color: var(--lt-green-ink); background: var(--lt-mint); color: var(--lt-navy); opacity: 1; }
.vis-closed__save.is-saved i { color: var(--lt-green-ink); }
.vis-closed__search { display: flex; flex-direction: column; gap: 8px; }
.vis-closed__find { display: flex; gap: 10px; margin: 0; }
.vis-closed__find .lt-input { flex: 1; min-width: 0; letter-spacing: 1px; }
.vis-closed__find .lt-btn { flex: none; }
.vis-closed__help { margin: 0; font-size: .8125rem; color: var(--lt-muted); }
.vis-closed__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vis-closed__tile { padding: 18px 20px; border-radius: 20px; display: flex; flex-direction: column; gap: 10px; }
.vis-closed__tile--own { flex-direction: row; align-items: center; gap: 14px; }
.vis-closed__tile--own a { font-size: .875rem; font-weight: 600; text-decoration: none; }
.vis-page .vis-closed__tiletitle { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--lt-navy); }
.vis-closed__owni { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--lt-mint); color: var(--lt-green-ink); font-size: 1.125rem; display: flex; align-items: center; justify-content: center; }
.lt-iconbtn.vis-closed__go { flex: none; background: var(--lt-navy); border-color: var(--lt-navy); color: var(--lt-white); }

@media (max-width: 767.98px) {
    .vis-page { padding: 0 16px 140px; }
    .vis-top { height: 64px; }
    .vis-top__link { display: none; }
    .vis-head { padding: 18px; gap: 14px; }
    .vis-head__avatar { width: 64px; height: 64px; font-size: 1.5rem; }
    .vis-page .vis-head__title { font-size: 1.75rem; }
    .vis-welcome { padding: 18px; }
    .vis-bar { margin-top: 20px; }
    .vis-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
    .vis-chips::-webkit-scrollbar { display: none; }
    .vis-chip { flex: none; }
    .vis-sort { margin-left: 0; }
    .vis-gift { padding: 12px; }
    .vis-gift__media { width: 64px; height: 64px; }
    .vis-gift__end { width: 100%; padding-left: 80px; justify-content: space-between; }
    .vis-item__media { min-height: 200px; padding: 20px; border-right: 0; border-bottom: 1px solid var(--lt-line); }
    .vis-item__media img { max-height: 220px; }
    .vis-item__body { padding: 20px; }
    .vis-legacy { padding: 16px; }
    .vis-cohead { padding: 16px; }
    .vis-page .vis-cohead__title { font-size: 1.5rem; }
    .vis-card { padding: 18px; }
    .vis-co__fields, .vis-pm, .vis-done__cards { grid-template-columns: minmax(0, 1fr); }
    .vis-co__side { position: static; }
    .vis-line__price { margin-left: 78px; }
    .vis-page .vis-done__title { font-size: 1.625rem; }
    .vis-msg .vis-msg__view { display: none; }   /* de terug-link doet hetzelfde */
    .vis-msg .vis-msg__body { max-height: 55vh; }
    .vis-closed { padding-top: 12px; }
    .vis-closed__card { padding: 22px 20px; }
    .vis-closed__icon { width: 64px; height: 64px; font-size: 1.5rem; }
    .vis-page .vis-closed__title { font-size: 1.625rem; }
    .vis-closed__find { flex-wrap: wrap; }
    .vis-closed__search .vis-closed__find .lt-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .vis-cartbar { animation: none; }
    .vis-gift, .vis-gift:hover { transition: none; transform: none; }
}

/* ==========================================================================
   Voorbeeld voor de eigenaar — aanpassen (views/mylists/edit/theme.php, prefix vpe-)
   Onderbalk (vpe-dock) zoals de mandjesbalk + zijpaneel (Bootstrap offcanvas-end, zonder backdrop).
   Velden en thema's gebruiken lset- uit list.css (zelfde als het instellingen-tabblad).
   ========================================================================== */
.vpe-dock {
    position: fixed;
    left: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 30;
    max-width: calc(100% - 32px);
    padding: 8px 8px 8px 18px;
    border-radius: var(--lt-radius-pill);
    background: var(--lt-navy);
    color: var(--lt-white);
    box-shadow: 0 24px 60px rgba(12, 35, 62, .3);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
    animation: vis-up .35s var(--lt-ease-out) both;
    white-space: nowrap;
}
.vpe-dock__text { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; opacity: .8; }
.vpe-dock__back { color: var(--lt-white); font-size: .875rem; font-weight: 600; text-decoration: none; }
.vpe-dock__back:hover { color: var(--lt-white); text-decoration: underline; }
.vpe-dock__edit {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--lt-radius-pill);
    background: var(--lt-white);
    color: var(--lt-navy);
    font-size: .875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.vpe-dock__edit:hover { background: var(--vis-accent-soft); }
/* de mandjesbalk heeft voorrang; het paneel open = balk weg */
body:has(.vis-cartbar) .vpe-dock, body:has(.vpe.show) .vpe-dock, body:has(.vpe.showing) .vpe-dock { display: none; }
body:has(.vpe-dock) .lt-toast { bottom: calc(88px + env(safe-area-inset-bottom)); }

.offcanvas.vpe {
    --bs-offcanvas-width: 420px;
    border-left: 0;
    background: var(--lt-white);
    box-shadow: var(--lt-shadow-lg);
    color: var(--lt-navy);
}
.vpe__form { height: 100%; display: flex; flex-direction: column; }
.vpe__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 24px 24px 16px; border-bottom: 1px solid var(--lt-line); }
.vpe__title { margin: 0; font-size: 1.25rem; font-weight: 700; }
.vpe__sub { margin: 4px 0 0; color: var(--lt-muted); font-size: .875rem; line-height: 1.45; }
.vpe__body { flex: 1; overflow-y: auto; padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 22px; }
.vpe__body .lt-field { margin: 0; }
.vpe__error { padding: 12px 14px; border-radius: var(--lt-radius); background: var(--lt-coral-soft); font-size: .875rem; }
.vpe__error[hidden] { display: none; }
.vpe__error br:last-of-type { display: none; }
.vpe .lset-themes.vpe__themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vpe .lset-status { width: 100%; }
.vpe__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lt-line); }
.vpe__more { color: var(--lt-blue); font-size: .875rem; font-weight: 600; text-decoration: none; }
.vpe__more:hover { text-decoration: underline; }
.vpe__save[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 575.98px) {
    .offcanvas.vpe { --bs-offcanvas-width: 100%; }
    .vpe-dock { gap: 10px; padding-left: 14px; }
    .vpe-dock__text { display: none; }   /* telefoon: enkel "Naar je lijstje" + "Aanpassen" */
}
@media (prefers-reduced-motion: reduce) {
    .vpe-dock { animation: none; }
}
