#cfw_trust_badges_list {
    position: relative;
    border-top: 1px solid var(--cfw-horizontal-divider-color);
    font-size: 1rem;

    h4 {
        text-align: center;
        font-size: 1rem;
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%) translateZ(0);
        background: var(--cfw-cart-summary-background-color);
        padding: 0 1em;
        font-weight: 400;
        white-space: nowrap;

        @include media-breakpoint-down(lg) {
            background: var(--cfw-cart-summary-mobile-background-color);
        }
    }

    &.cfw-trust-badges-position-below_checkout_form, &.cfw-trust-badges-position-in_footer {
        margin-top: 3.6em;
        padding: 0 20px;

        h4 {
            background: var(--cfw-body-background-color);
        }

        @include media-breakpoint-up(lg) {
            padding: 0;
        }
    }

    &.cfw-trust-badges-position-in_footer {
        h4 {
            color: var(--cfw-footer-text-color);
            background: var(--cfw-footer-background-color);
        }

        p {
            text-align: left !important;
        }
    }
}