/* Gestapelde USP
   BEM + CSS vars (prefixed --cpx-*)
*/
:root {
    --cpx-usp-icon-size: 28px;
    --cpx-usp-gap: 24px;

    --cpx-usp-color: #ffffff;
    /* icoontjes */
    --cpx-usp-popover-bg: #ffffff;
    /* tippy background */
    --cpx-usp-popover-text: #000000;
    /* tippy text */
    --cpx-usp-popover-radius: 10px;
    --cpx-usp-popover-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    --cpx-usp-popover-padding: 10px 12px;
    --cpx-usp-popover-font-size: 14px;
    --cpx-usp-popover-line-height: 1.35;
}

.gestapelde-usp {
    display: inline-flex;
}

.gestapelde-usp__list {
    display: flex;
    flex-direction: column;
    gap: var(--cpx-usp-gap);
}

.gestapelde-usp__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--cpx-usp-icon-size);
    height: var(--cpx-usp-icon-size);
    outline: none;
}

.gestapelde-usp__item:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .6);
    outline-offset: 2px;
    border-radius: 8px;
}

.gestapelde-usp__icon {
    width: 100%;
    height: 100%;
    color: var(--cpx-usp-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Inline SVG kleuring via currentColor */
.gestapelde-usp__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

/* Non-SVG fallback */
.gestapelde-usp__icon__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* wit maken indien donkere bron */
}

/* Tippy theme */
.tippy-box[data-theme~='cpx-usp'] {
    background-color: var(--cpx-usp-popover-bg);
    color: var(--cpx-usp-popover-text);
    border-radius: var(--cpx-usp-popover-radius);
    box-shadow: var(--cpx-usp-popover-shadow);
    padding: 0;
}

.tippy-box[data-theme~='cpx-usp'] .tippy-content {
    padding: var(--cpx-usp-popover-padding);
    font-size: var(--cpx-usp-popover-font-size);
    line-height: var(--cpx-usp-popover-line-height);
    font-weight: 500;
}

.tippy-box[data-theme~='cpx-usp'][data-placement^='left']>.tippy-arrow::before {
    border-left-color: var(--cpx-usp-popover-bg);
}

.tippy-box[data-theme~='cpx-usp'][data-placement^='right']>.tippy-arrow::before {
    border-right-color: var(--cpx-usp-popover-bg);
}

/* We willen standaard links uitlijnen; CSS voor pijl is hierboven gedekt */