.cart-price-view__detailsblock {
    display: flex;
    gap: 30px;
    --cpv-success: #2ecc71;
}

@media(max-width: 576px){
    .cart-price-view__detailsblock {
        flex-direction: column;
        gap: 15px;
    }
}

.cart-price-view__details {
    flex-grow: 1;
}

/* --- Details (left column) --- */
.cart-price-view__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.cart-price-view__row-label {
    font-size: 14px;
    color: var(--pscart-color-muted);
}

.cart-price-view__row-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--pscart-color-text);
    white-space: nowrap;
}

.cart-price-view__row-value--success {
    color: var(--cpv-success);
}

/* --- Total (right column) --- */
.cart-price-view__total {
    display: flex;
    flex-direction: column;
    min-width: 40%;
}

.cart-price-view__total-label {
    font-size: 13px;
    color: var(--pscart-color-muted);
}

.cart-price-view__total-value {
    margin-top: 4px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pscart-color-text);
}

/* --- Buy button --- */
.cart-price-view__buy-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background-color: var(--pscart-color-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background-color .2s ease;
    box-shadow: none !important;
}

.cart-price-view__total-value + .cart-price-view__buttons {
    margin-top: 24px;
}

.cart-price-view__buttons {
    display: flex;
    gap: 5px;
}

.cart-price-view__buy-btn:hover,
.cart-price-view__buy-btn:focus {
    background-color: var(--pscart-color-accent-hover);
    color: #fff;
}

.cart-price-view__buy-btn.buyed {
    background: transparent;
    color: var(--pscart-color-success);
    border: 1px solid var(--pscart-color-success);
}

.cart-price-view__buy-btn.buyed:hover, .cart-price-view__buy-btn.buyed:focus {
    background: transparent;
    color: var(--pscart-color-success-hover);
    border-color: var(--pscart-color-success-hover);
}

/* --- Responsive --- */
@media (max-width: 575.98px) {

    .cart-price-view__total-value {
        font-size: 24px;
    }
}
