<div class="space-y-3 text-sm">
    <div class="flex justify-between">
        <span class="text-gray-500 dark:text-gray-400">Preț de bază (markup)</span>
        <span class="font-mono">{{ number_format($quote['base'], 2) }} MDL</span>
    </div>

    @if (! empty($quote['applied']))
        <div class="border-t border-gray-200 dark:border-gray-700 pt-2 space-y-1">
            @foreach ($quote['applied'] as $a)
                <div class="flex justify-between">
                    <span>{{ $a['name'] }}</span>
                    <span class="font-mono text-primary-600">×{{ rtrim(rtrim(number_format($a['multiplier'], 3), '0'), '.') }}</span>
                </div>
            @endforeach
        </div>
    @else
        <div class="text-gray-400 text-xs">Niciun coeficient contextual nu se aplică (preț de bază).</div>
    @endif

    <div class="flex justify-between border-t-2 border-gray-300 dark:border-gray-600 pt-2 text-base font-bold">
        <span>Preț recomandat</span>
        <span class="text-primary-600">{{ number_format($quote['final'], 2) }} MDL</span>
    </div>

    @if ((float) $item->sell_price > 0)
        <div class="text-xs text-gray-500">Preț curent pe linie: {{ number_format((float) $item->sell_price, 2) }} MDL</div>
    @endif
</div>
