/* Shared polish for Store Finder and Stock Radar (plain CSS, no Tailwind build needed). */
.polish-hidden { display: none !important; }
.polish-more { display: block; width: calc(100% - 2rem); margin: 1rem auto 1.5rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: .25rem; background: var(--surface); color: var(--ink); font-size: .8rem; font-weight: 600; cursor: pointer; }
.polish-more:hover { border-color: #df1830; }
.polish-filter-toggle { display: none; }
/* "Showing latest 500" is information, not a button. */
#summary { background: none !important; padding: 0 !important; }

@media (width < 48rem) {
  /* Lead with the content: keep the page's main heading for screen readers only. */
  .intro .eyebrow, .intro > p:not(.eyebrow):not([class*="hint"]) { display: none; }
  .intro h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0 !important; }
  .intro { padding-top: .75rem !important; padding-bottom: .75rem !important; }
  .intro:not(:has(button, a, input)) { display: none; }
  .polish-filter-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 1.25rem; border: 0; border-bottom: 1px solid var(--line); background: var(--canvas); color: var(--ink); font-size: .9rem; font-weight: 700; cursor: pointer; }
  .polish-filter-toggle i { transition: transform .15s; }
  .polish-filter-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
  .polish-collapsed { display: none !important; }
}

@media (prefers-color-scheme: dark) {
  /* Brand red text is too dark on dark backgrounds; buttons keep the brand red. */
  .text-brand, a.text-brand, .eyebrow { color: #ff6b7d !important; }
}
