/* v575: product-card and product-detail amounts are black again.
   Cart totals and discounts retain v574 green. Price captions remain black;
   stock status, brand red, warnings and old crossed-out prices are unchanged.
   Loaded by the editor and setup routes; checkout/sent still use v574. */
:root { --ahp-price-green: #1e9b38; --ahp-price-label: #111111; }

/* Catalog and product detail (including compact/mobile cards). */
html.ahp-layout-v497 #editorScreen #productList .price-sale,
html.ahp-layout-v497 #editorScreen #productList .product-price-current,
html.ahp-layout-v497 #app .detail-card-v135 .detail-price .price-sale {
  color: var(--ahp-price-label) !important;
}

/* Cart previews on both the setup and editor pages. */
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-total,
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-total > span,
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-line.red > span,
html.ahp-layout-v497 .summary-row.total,
html.ahp-layout-v497 .checkout-total-line.total {
  color: var(--ahp-price-label) !important;
}
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-cart-total:is(.final, .red, .discount, .discount-code) > strong,
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-line.red > strong,
html.ahp-layout-v497 :is(#topSummaryDropdown, #startTopSummaryDropdown) .top-summary-section-total-price.red,
html.ahp-layout-v497 .summary-row.total > strong,
html.ahp-layout-v497 .checkout-total-line.total > strong,
html.ahp-layout-v497 #summaryVat {
  color: var(--ahp-price-green) !important;
}
/* Header prices remain white on black at rest; keep the original red hover. */
html.ahp-layout-v497 :is(#editorHeader #topSummaryButton, #startHeader #startTopSummaryButton):is(:hover, :focus, :focus-visible) .top-summary-main strong {
  color: #c11015 !important;
}

/* Checkout and the sent-inquiry recap. Do not recolor discount-code actions. */
html .ahp-total-line.total,
html .ahp-total-line.total > span,
html .ahp-total-line:is(.ahp-discount-line, .ahp-discount-code-line) > span,
html .ahp-section-total .ahp-cell-label,
html .ahp-sent-mobile-summary-total-row > span {
  color: var(--ahp-price-label) !important;
}
html .ahp-total-line.total > strong,
html .ahp-total-line:is(.ahp-discount-line, .ahp-discount-code-line) > strong,
html .ahp-section-total > strong:last-child,
html .ahp-sent-mobile-summary-total-row > strong,
html #sentMobileSummaryTotal,
html .ahp-sent-summary-total-emphasis {
  color: var(--ahp-price-green) !important;
}
