/* Shared text roles. White primary actions and semantic feedback keep their colours. */
:root {
  --ui-font:Arial,'Helvetica Neue',sans-serif;
  --ui-text:#62605D;
  --ui-size:14px;
  --ui-caption:12px;
  --ui-heading:20px;
  --ui-amount:22px;
  --ui-hover:#C85000;
  --text:var(--ui-text);
  --text-secondary:var(--ui-text);
  --navigation-text:var(--ui-text);
}
body,body input,body select,body textarea,body button { font-family:var(--ui-font); }
body { color:var(--ui-text);font-size:var(--ui-size);line-height:1.45; }
body .product-card.promotion-card .product-info h2,
body .card-manufacturer,body .filter-chip,body .filter-block .filter-section summary,
body .filter-block .filter-heading h2,body .category-tabs button,
body .payout-range label,body .payout-range input,body #manufacturer-search,
body .quick-payouts button,body .filter-tags button,body .filter-block>[data-reset],
body .header-inner .search input[type=search],
body .catalog-toolbar p,body .profile-field label,body .auth-form label,
body .profile-field input:not([type=checkbox]),body .auth-form input:not([type=hidden]) {
  font-size:var(--ui-size);line-height:1.45;color:var(--ui-text);
}
body .product-card.promotion-card .product-info h2,body .card-manufacturer { font-weight:400; }
body .product-card.promotion-card .payout-badge,
body .product-card.promotion-card .payout-badge strong,
body .product-card.promotion-card .payout-badge small {
  color:var(--ui-text);background:none;-webkit-text-fill-color:currentColor;
}
body .product-card.promotion-card .payout-badge strong { font-size:calc(var(--ui-amount) * .75);font-weight:700; }
body .product-card.promotion-card .payout-badge small,
body .filter-section summary small,body .auth-help,body .auth-muted,
body .profile-field small,body .demo-note,body .info-footer a { font-size:var(--ui-caption);color:var(--ui-text); }
body .catalog-content #page-title.catalog-title,body .filter-block .filter-heading h2 {
  color:var(--ui-text);background:none;-webkit-text-fill-color:currentColor;
}
body .catalog-content #page-title.catalog-title { font-size:var(--ui-heading);font-weight:650; }
body .account-heading h1,body .account-container>h1,body .auth-page-card h1,
body .auth-content :is(h1,h2),body .how-hero h1 { font-size:var(--ui-heading);color:var(--ui-text); }
body .account-profile>h2,body .account-empty h2 { font-size:16px;color:var(--ui-text); }
body .detail-payout,body .manufacturer-detail,body .wallet-hero h1,body .wallet-product h3 { color:var(--ui-text); }
body :is(.auth-back,.auth-forgot,.auth-switch a,.password-control button,.auth-inline-login,.auth-logout,.back-to-showcase,.image-credit a),
body main a:not([class]) { color:var(--ui-text); }
body :is(.auth-back,.auth-forgot,.auth-switch a,.password-control button,.auth-inline-login,.auth-logout,.back-to-showcase,.image-credit a):is(:hover,:focus-visible),
body main a:not([class]):is(:hover,:focus-visible) { color:var(--ui-hover); }
body .header-inner :is(.wallet-link,.how-link,.header-filter-button),
body .header-inner nav :is(.favorites-link,.auth-entry),
body .header-inner .wallet-name,body .header-inner .wallet-link>strong,
body .header-inner nav .language-switch button { color:var(--ui-text); }
body .header-inner .wallet-name,body .header-inner .how-link,
body .header-inner nav :is(.favorites-link,.auth-entry) { font-size:var(--ui-size); }
body .header-inner .how-link { line-height:1.2; }
body .header-inner nav .language-switch button { font-size:var(--ui-caption); }
body .header-inner nav .language-switch button[aria-pressed=true] { color:var(--ui-text); }
body .filter-chip[aria-pressed=true],body .quick-payouts button,
body .filter-block>[data-reset],body .filter-tags button,
body .category-tabs button[aria-pressed=true],body .catalog-pagination button { color:var(--ui-text); }
body .filter-block .filter-section summary:is(:hover,:focus-visible),
body .filter-block .filter-section summary:is(:hover,:focus-visible) small,
body .filter-chip:is(:hover,:focus-visible),body .filter-tags button:is(:hover,:focus-visible),
body .quick-payouts button:is(:hover,:focus-visible),body .filter-block>[data-reset]:is(:hover,:focus-visible),
body .category-tabs button:is(:hover,:focus-visible),body .catalog-pagination button:is(:hover,:focus-visible),
body .info-footer a:is(:hover,:focus-visible) { color:var(--ui-hover); }
body .header-inner :is(.wallet-link,.how-link,.header-filter-button):is(:hover,:focus-visible),
body .header-inner nav :is(.favorites-link,.auth-entry):is(:hover,:focus-visible),
body .header-inner nav .language-switch button:is(:hover,:focus-visible),
body .header-inner :is(.wallet-link,.how-link,.header-filter-button,.favorites-link,.auth-entry):is(:hover,:focus-visible) :is(.wallet-name,.nav-entry-label,.favorites-link-label,strong,[data-favorites-count]) {
  color:var(--ui-hover);
}
body .catalog-content #page-title.catalog-title:hover,body .manufacturer-detail:hover,
body .detail-payout:hover,body .wallet-hero h1:hover { color:var(--ui-hover); }
@media(prefers-reduced-motion:no-preference) {
  body .product-info :is(h2,.card-manufacturer,.payout-badge,strong,small),
  body .filter-section summary,body .filter-chip,body .category-tabs button { transition:color .15s; }
}
@media(min-width:1280px) and (max-width:1399px) {
  body .header-inner { grid-template-columns:190px minmax(0,1fr) auto; }
  body .header-inner .search-wallet:not(.wallet-only) { grid-template-columns:minmax(110px,1fr) 190px 170px; }
}
@media(max-width:800px) {
  :root { --ui-heading:18px;--ui-amount:20px; }
  body .header-inner nav :is(.favorites-link,.auth-entry) { font-size:clamp(9px,2.55vw,11px); }
  body .header-inner .how-link,body .header-inner .header-filter-button { font-size:clamp(9px,2.5vw,11px); }
  body .header-inner .wallet-name { font-size:clamp(7px,2vw,10px); }
  body .header-inner nav .language-switch button { font-size:11px; }
}

/* The product card text keeps its colour on hover; only the sum has an orange badge. */
body .product-card.promotion-card .payout-badge { align-items:center; }
body .product-card.promotion-card .payout-badge strong {
  display:inline-flex;align-items:center;padding:3.75px 4.5px;border-radius:6.75px;
  background:#ED6D0D;color:#FFFFFF;-webkit-text-fill-color:currentColor;line-height:1.2;
}
body .product-card.promotion-card .promotion-link:is(:hover,:focus-visible),
body .product-card.promotion-card .card-manufacturer:hover { color:var(--ui-text); }

/* Manufacturer ribbon: 115% of the previous text, logos and spacing. */
body .manufacturer-strip { gap:6.9px; }
body .manufacturer-strip .category-tabs { gap:9.2px;padding:1.15px 1.15px 9.2px; }
body .manufacturer-strip .category-tabs button {
  font-size:calc(var(--ui-size) * 1.15);min-height:50.6px;
  padding:4.6px 14.95px 4.6px 4.6px;gap:8.05px;border-radius:32.2px;
}
body .manufacturer-strip .category-thumb { width:39.1px;height:39.1px; }
body .manufacturer-strip .category-thumb img { width:32.2px;height:32.2px;padding:2.3px; }
body .manufacturer-strip .strip-arrow { width:34.5px;height:34.5px; }

/* The main logo sits directly on the shared header background. */
body .topbar .header-inner .identity {
  background:none;border-color:transparent;box-shadow:none;border-radius:0;
}
