/* p1450108174229-frontend-accent-reference-search-marker-v1
 * Public presentation-only contract.
 * Harmonises warm accent colour, reference-price presentation and the search-result
 * highlight marker without changing price, saving, shipping, provider or identity semantics.
 */
:root{
  --aw229-amber:#d3a437;
  --aw229-amber-strong:#9a6500;
  --aw229-amber-ink:#6c4b00;
  --aw229-amber-soft:#fff8e7;
  --aw229-amber-line:#e6cf92;
  --aw-reference-price:var(--aw229-amber-strong);
  --aw-warning:var(--aw229-amber-strong);
  --aw106-gold:var(--aw229-amber);
  --aw106-gold-soft:var(--aw229-amber-soft);
}

/* Reference-price source of truth: AVP/UVP/reference prices are warm amber,
   while the actual saving badge remains green. */
:where(.product-reference-price,.product-reference-price small,.product-reference-price del){
  color:var(--aw229-amber-strong)!important;
}
.product-reference-price del{
  text-decoration-color:rgba(154,101,0,.72)!important;
  text-decoration-thickness:1.4px!important;
}
body.product-page .product-hero-reference-price,
body.product-page .product-hero-reference-price span,
body.product-page .product-hero-reference-price strong,
body.product-page .product-hero-reference-price del{
  color:var(--aw229-amber-strong)!important;
}
body.product-page .product-hero-reference-price del{
  text-decoration-color:rgba(154,101,0,.72)!important;
  text-decoration-thickness:1.4px!important;
}
/* Saving percentage remains semantically green. */
body.product-page .product-hero-reference-price b,
.product-saving-badge{
  color:var(--aw-saving)!important;
  background:var(--aw-saving-bg)!important;
}

/* Best-offer/winner accents: one clean amber family, no dirty green/yellow mix. */
body.product-page .offer-row.offer-compare-row.best{
  background:linear-gradient(90deg,var(--aw229-amber-soft) 0%,#fffdf8 30%,#fff 58%)!important;
  box-shadow:inset 4px 0 0 var(--aw229-amber)!important;
}
body.product-page .offer-best-header{
  color:var(--aw229-amber-ink)!important;
}
body.product-page .offer-head span.offer-best-badge{
  background:var(--aw229-amber-soft)!important;
  border:1px solid var(--aw229-amber-line)!important;
  color:var(--aw229-amber-ink)!important;
  box-shadow:none!important;
}
.search-command-basket.has-items{
  border-color:var(--aw229-amber-line)!important;
  background:var(--aw229-amber-soft)!important;
}

/* Search-result marker root cause:
   .213 removed the reserved padding but the legacy glyph pseudo-element stayed active.
   Reserve space again and draw a CSS-vector check instead of a font glyph, so zoom and
   long German product facts cannot place the marker over text. */
.search-page:not(.provider-search-page) .search-result-highlights li{
  position:relative!important;
  padding-left:16px!important;
}
.search-page:not(.provider-search-page) .search-result-highlights li::before{
  content:""!important;
  position:absolute!important;
  left:2px!important;
  top:50%!important;
  width:5px!important;
  height:9px!important;
  box-sizing:border-box!important;
  border-style:solid!important;
  border-color:var(--aw229-amber-strong)!important;
  border-width:0 2px 2px 0!important;
  background:transparent!important;
  transform:translateY(-62%) rotate(45deg)!important;
  transform-origin:center!important;
  pointer-events:none!important;
}
/* Use the same vector marker on product-summary highlights; its existing 30px reserve stays. */
.product-summary-highlights li::before{
  content:""!important;
  position:absolute!important;
  left:12px!important;
  top:50%!important;
  width:5px!important;
  height:9px!important;
  box-sizing:border-box!important;
  border-style:solid!important;
  border-color:var(--aw229-amber-strong)!important;
  border-width:0 2px 2px 0!important;
  background:transparent!important;
  transform:translateY(-62%) rotate(45deg)!important;
  transform-origin:center!important;
}
.product-summary-highlights li{
  background:var(--aw229-amber-soft)!important;
  border-color:var(--aw229-amber-line)!important;
}

html[data-aw-contrast="dark"]{
  --aw229-amber:#d9a62e;
  --aw229-amber-strong:#f4d77d;
  --aw229-amber-ink:#ffe4a0;
  --aw229-amber-soft:#332b1b;
  --aw229-amber-line:#6d5b2f;
  --aw-reference-price:#f4d77d;
  --aw-warning:#f4d77d;
}
html[data-aw-contrast="dark"] body.product-page .offer-row.offer-compare-row.best{
  background:linear-gradient(90deg,#332b1b 0%,#182535 46%,#142536 100%)!important;
}
@media(forced-colors:active){
  body.product-page .offer-row.offer-compare-row.best{box-shadow:inset 4px 0 0 CanvasText!important}
  .search-page:not(.provider-search-page) .search-result-highlights li::before,
  .product-summary-highlights li::before{border-color:CanvasText!important}
}
