/* Static homepage background. Other routes retain their own styles. */
.home-popular-skeleton { pointer-events: none; }
.home-popular-skeleton .product-card-img-wrap { aspect-ratio: 1; background: var(--surface-2); }
.home-popular-skeleton .product-card-body { height: 112px; }
.home-popular-skeleton .product-card-body::before { content: ''; display: block; width: 70%; height: 14px; border-radius: 4px; background: var(--surface-2); }
.home-popular-state { grid-column: 1 / -1; text-align: center; padding: 32px; color: var(--text-secondary); }
.home-popular-state button { margin-top: 16px; }
.home-productfind .nav,
.home-productfind .hero-combined {
  --accent: #0ea5e9;
  --accent-hover: #0369a1;
  --accent-dim: #0ea5e92e;
  --accent-glow: #0ea5e959;
  --accent-ink: #000;
  --accent-text: #0ea5e9;
  --accent-on-dark: #0ea5e9;
  --border: #0ea5e959;
}
.home-productfind .hero-combined { position: relative; overflow: hidden; min-height: 100vh; height: auto; background: var(--bg); }
.home-productfind .hero-combined .hero-overlay { background: none; }
.home-productfind .hero-mobile-avatar { display: none; }
.home-productfind :is([data-hero-copy-label],[data-hero-copy-title])[hidden] { display: none !important; }
.home-productfind [data-hero-copy-title] { max-width: 100%; overflow-wrap: anywhere; }
.home-productfind :is([data-hero-copy-label],[data-hero-copy-title]) { text-transform: none; }
/* The first screen must remain readable while the rest of the page initializes. */
.home-productfind .hero-content > * { animation: none; }
.home-productfind .hero-products-btn { min-height: 44px; box-sizing: border-box; }
.home-productfind .hero-products-btn { background: var(--accent); color: var(--accent-ink); border: 1px solid transparent; box-shadow: 0 12px 34px var(--accent-dim); }
.home-productfind .hero-products-btn:hover { background: var(--accent-hover); color: var(--accent-ink); border-color: transparent; box-shadow: 0 16px 44px var(--accent-glow); }
.home-productfind .hero-signup-btn { background: transparent; color: var(--text); border: 1px solid var(--border-subtle); box-shadow: none; }
.home-productfind .hero-signup-btn:hover { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
/* Leave room around configurable multi-line copy, including accented letters. */
@media (min-width: 769px) {
  .home-productfind .hero-content { padding: 88px 24px 32px; }
  .home-productfind .hero-label { font-size: 14px; line-height: 1.6; letter-spacing: 2.5px; margin: 0 0 28px; }
  .home-productfind .hero-title { max-width: min(100%, 1040px); font-size: clamp(48px, min(7.2vw, 10svh), 82px); line-height: 1.16; letter-spacing: 1px; margin: 0 0 clamp(32px, 4svh, 44px); }
  .home-productfind .hero-scroll { margin-top: 28px; }
}
/* Muted blue for the homepage's View All links, with readable theme variants. */
html .home-productfind a.sec-link { color: #4187b2; }
html .home-productfind a.sec-link:hover,
html .home-productfind a.sec-link:focus-visible { color: #5c9dc7; }
html[data-theme="light"] .home-productfind a.sec-link { color: #245d80; }
html[data-theme="light"] .home-productfind a.sec-link:hover,
html[data-theme="light"] .home-productfind a.sec-link:focus-visible { color: #183e57; }
@media (max-width: 768px) {
  .home-productfind .hero-combined { min-height: 0; }
  .home-productfind .hero-content { padding-top: 84px; }
  .home-productfind .hero-mobile-avatar { display: grid; place-items: center; position: relative; flex-shrink: 0; width: 128px; height: 128px; border-radius: 50%; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border-subtle); margin-bottom: 16px; }
  .home-productfind .hero-mobile-avatar > svg { width: 46px; height: 46px; color: var(--text-muted); }
  .home-productfind .hero-mobile-picture { display: block; position: absolute; inset: 0; opacity: 0; }
  .home-productfind .hero-mobile-avatar.has-mobile-image .hero-mobile-picture { opacity: 1; }
  .home-productfind .hero-mobile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover !important; background: var(--surface-2) !important; padding: 0; }
  .home-productfind .hero-label { font-family: var(--font-body); font-size: 12px; line-height: 1.6; letter-spacing: 1.5px; margin: 0 0 12px; }
  .home-productfind .hero-title { display: flex; flex-wrap: wrap; justify-content: center; gap: .12em .24em; max-width: 100%; font-family: var(--font-body); font-size: 22px; font-weight: 500; line-height: 1.55; letter-spacing: 0; text-transform: none; text-shadow: none; margin: 0 0 24px; }
  .home-productfind .hero-title br { display: none; }
}
@media (max-width: 900px), (pointer: coarse) {
  .home-productfind .hero-search-go { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .home-productfind .hero-search-recent-x,
  .home-productfind .hero-search-recent-clear { min-width: 44px; min-height: 44px; }
}
