{% macro render_deal_row(deal, idx, target_item, coupons, is_ref_url) %}
  • {{ deal.title if deal.title else target_item }}
    {{ deal.source_domain }} {{ deal.size if deal.size else 'Standard' }} {% if deal.is_third_party %} ⚠️ Third-Party Merchant {% else %} 🛡️ Direct OEM {% endif %} {% if deal.anomaly_prob and deal.anomaly_prob > 45 %} 🔥 {{ deal.anomaly_prob }}% Glitch Probability {% endif %} {% if deal.rating %} {{ deal.rating }}{% if deal.reviews %} ({{ deal.reviews|int }}){% endif %} {% endif %} {% if idx == 0 %} Best Value {% endif %} {% if deal.source %} Verified {% endif %} {% if is_ref_url and deal.url == is_ref_url %} ⭐ Ref Target {% endif %}
    {{ deal.url }}
    ${{ "%.2f"|format(deal.price) }} {% if idx == 0 and deal.price_delta and deal.price_delta != 0.0 %} {% if deal.price_delta < 0 %} - $ {{ deal.price_delta|abs }} {% else %} + $ {{ deal.price_delta }} {% endif %} {% endif %}
    {% if deal.badge and deal.badge != 'BEST PRICE' %}
    {{ deal.badge }}
    {% endif %}
  • {% endmacro %}

    Tarz Price Scout

    {{ status_text }}
    {% if error_msg %}
    {{ error_msg }}
    {% endif %}

    Run On-Demand Scan

    💡 Append an asterisk to force an engine refresh (e.g. nike shorts *)

    ⚡ Price Scout is assembling structural pricing matrices across real-time storage nodes...

    {% if show_results %}

    Results Matrix for: {{ target_item }}{{ size_header }}

    {% if deals %}

    🏆 Lowest verified online price: ${{ "%.2f"|format(deals[0].price) }}

    {% if deals|length > 10 %}
    View Additional Pricing Options (+{{ deals|length - 10 }} more variants found)
      {% for deal in deals[10:20] %} {{ render_deal_row(deal, loop.index0 + 10, target_item, coupons, is_ref_url) }} {% endfor %}
    {% endif %} {% else %}

    ⚠️ No verifiable pricing matrices were found matching this selection criteria.

    {% endif %}
    {% endif %}