.b2b-price-header {
  margin: -6px 0 8px;
  text-align: center;
}

.b2b-price-header .b2b-barre-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2px;
    min-height: 20px;
}

.b2b-price-header .b2b-pay-price {
    font-family: var(--lpv-font-06, inherit);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    color: #fff;
}

.b2b-price-header .b2b-pay-price .prix,
.b2b-price-header .b2b-pay-price .our_price_display {
    display: inline;
    margin: 0;
    padding: 0;
}

.b2b-frontend .has-info-attr .product-info-attribute {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.b2b-frontend .has-info-attr .product-info-attribute::before {
    position: static;
}

/* NEW */
.b2b-your-price__header {
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    border-radius: var(--lpv-radius-02);
    background: var(--lpv-color-20);
}
.b2b-your-price__label {
    color: var(--lpv-color-17);
    font-size: 15px;
    font-family: var(--lpv-font-01);
    font-weight: 400;
}

.b2b-our-price__price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    .b2b-our-price__price-value {
        color: var(--lpv-color-16);
        font-size: 38px;
        font-family: var(--lpv-font-01);
        font-weight: 400;
    }
    .b2b-our-price__unit-price {
        color: var(--lpv-color-17);
        font-size: 12px;
        font-family: var(--lpv-font-06);
        font-weight: 700;
    }
}

.b2b-your-price__reference {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: var(--lpv-color-16);
    text-align: center;
    font-family: var(--lpv-font-06);
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.b2b-your-price__regular {
    text-decoration: line-through;
    color: var(--lpv-color-16);
}

.b2b-your-price__discount {
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    background: var(--lpv-bg-product-label-red-price);
    border-radius: 5px;
}

.b2b-your-price__total {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    border-radius: var(--lpv-radius-02);
    background: var(--lpv-color-20);
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;

    .b2b-your-price__total-label {
        display: flex;
        flex-direction: column;

        .b2b-your-price__total-label-text {
            color: var(--lpv-color-16);
            font-family: var(--lpv-font-01);
            font-size: 15px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }

        .b2b-your-price__total-label-quantity {
            display: flex;
            color: var(--lpv-color-17);
            font-family: var(--lpv-font-06);
            font-size: 11px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }
    }

    .b2b-your-price__total-value {
        display: flex;
        gap: 7px;
        color: var(--lpv-color-17);
        leading-trim: both;
        text-edge: cap;
        font-family: var(--lpv-font-06);
        font-size: 11px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        align-items: baseline;

        .b2b-your-price__total-value-price {
            color: var(--lpv-color-16);
            font-family: var(--lpv-font-01);
            font-size: 30px;
            font-weight: 400;
        }
    }

    &.b2b-your-price__total--pulse {
        animation: b2bTotalPulse 420ms ease-in-out;
    }
}

@keyframes b2bTotalPulse {
    0% {
        outline: 2px solid transparent;
        outline-offset: 0;
    }
    30% {
        outline: 2px solid var(--lpv-color-01);
        outline-offset: 2px;
    }
    100% {
        outline: 2px solid transparent;
        outline-offset: 2px;
    }
}


.b2b-your-price-rrp {
    padding: 10px;

    .b2b-your-price-rrp__body {
        border-radius: var(--lpv-radius-02);
        background: var(--lpv-color-16);
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 10px;
        align-items: center;
    }

    .b2b-your-price-rrp__label {
        display: flex;
        align-items: center;
        gap: 5px;
        color: var(--lpv-color-03);
        font-family: var(--lpv-font-01);
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;

        .tooltip-item {
            position: relative;
            padding: 0px;
            display: flex;
            align-items: center;
            filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.22));
        }

        .tooltip-content {
            color: var(--lpv-color-03);
            font-family: var(--lpv-font-06);
            font-size: 12px;
            font-weight: 700;
            padding: 10px;
            width: 279px;
            &:after {
                margin: 0 0 0 1px;
            }
        }
        @media (max-width: 599px) {
            .tooltip-content {
                margin: 0px 0 14px -90px;
                max-width: 80vw;
                &::after {
                    margin: 0 0 0 -59px;
                }
            }
        }
    }

    .b2b-your-price-rrp__value {
        display: flex;
        align-items: baseline;
        gap: 7px;
        color: var(--lpv-color-03);
        font-family: var(--lpv-font-06);
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;

        .prix {
            leading-trim: both;
            text-edge: cap;
            font-family: var(--lpv-font-01);
            font-size: 25px;
            font-weight: 400;
        }
    }
}

.b2b-your-price__margin {
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: #E3F7F5;
    color: #1E8379;
    font-family: var(--lpv-font-06);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.b2b-your-price__package-label {
    color: var(--lpv-color-16);
    font-family: var(--lpv-font-01);
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 2px;
}

.b2b-your-price__package {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;

    .b2b-your-price__package-quantity {
        display: flex;
        height: 35px;
        padding: 0 10px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        flex: 1 0 0;
        border-radius: 6px;
        background: var(--lpv-color-16);
        border: 2px solid var(--lpv-color-16);
        color: var(--lpv-color-03);
        leading-trim: both;
        text-edge: cap;
        font-family: var(--lpv-font-01);
        font-size: 15px;
        cursor: pointer;
        transition: background-color 200ms ease-in-out;
        &:hover, &.b2b-your-price__package-quantity--active {
            border: 2px solid #C5BB9B;
            background-color: var(--lpv-color-04-h);
        }
        &:focus, &:active {
            border: 2px solid #C5BB9B;
        }
        &:disabled {
            cursor: not-allowed;
            opacity: 0.5;
        }
    }
}

body.sticky-buy {
    .b2b-your-price__package-label,
    .b2b-your-price__package,
    .b2b-your-price__total {
        display: none;
    }
}

body.sticky-buy:not(.sticky-buy-full) .block-achat {
    padding: 5px 0 0;
}
