  /* Landing/featured storefront page. Shared nav/product-card/footer chrome
     lives in store-common.css, loaded before this file. */

  /* Hero */
  .hero { position: relative; padding: 120px 2.5rem 100px; text-align: center; background: radial-gradient(ellipse at top, rgba(204,31,31,0.25), transparent 60%), #0A0A0A; overflow: hidden; }
  .hero-content { position: relative; max-width: 720px; margin: 0 auto; opacity: 0; animation: heroIn 0.8s ease forwards; }
  .hero-title { font-size: clamp(32px, 6vw, 56px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
  .hero-title span { color: #CC1F1F; }
  .hero-tagline { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 36px; line-height: 1.5; }
  .hero-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; background: #CC1F1F; border-radius: 10px; text-decoration: none; transition: background 0.15s, transform 0.15s; }
  .hero-cta:hover { background: #B01A1A; transform: translateY(-1px); }

  @keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  /* Sticky "Shop All Parts" bar — fixed (not sticky) so it never reserves
     layout space while hidden pre-scroll. */
  .sticky-shop-bar { position: fixed; top: 60px; left: 0; right: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2.5rem; background: rgba(10,10,10,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s; pointer-events: none; }
  /* Dealer View's admin-preview banner pushes the topnav down 42px — follow it. */
  body.dealer-view-active .sticky-shop-bar { top: 102px; }
  .sticky-shop-bar.visible { opacity: 1; transform: none; pointer-events: auto; }
  .sticky-shop-bar span { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); }
  .sticky-shop-btn { padding: 8px 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; background: #CC1F1F; border-radius: 8px; text-decoration: none; transition: background 0.15s; }
  .sticky-shop-btn:hover { background: #B01A1A; }

  /* Top sellers */
  .featured-section { margin-bottom: 4rem; }
  .section-heading { text-align: center; max-width: 600px; margin: 0 auto 2.5rem; }
  .section-heading h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 10px; }
  .section-heading p { font-size: 15px; color: rgba(255,255,255,0.62); }
  .featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
  .featured-empty { text-align: center; padding: 60px 20px; color: rgba(255,255,255,0.5); grid-column: 1 / -1; }

  /* Scroll reveal — wraps each featured card and the section heading/CTA
     band. Kept separate from .product-card so its transform never fights
     the card's own hover lift. */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in-view { opacity: 1; transform: none; }

  /* Bottom CTA band */
  .cta-band { text-align: center; padding: 64px 2.5rem; background: linear-gradient(180deg, rgba(204,31,31,0.08), rgba(204,31,31,0.02)); border: 1px solid rgba(204,31,31,0.15); border-radius: 20px; }
  .cta-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
  .cta-band p { font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 28px; }
  .cta-band-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; background: #CC1F1F; border-radius: 10px; text-decoration: none; transition: background 0.15s, transform 0.15s; }
  .cta-band-btn:hover { background: #B01A1A; transform: translateY(-1px); }

  @media (prefers-reduced-motion: reduce) {
    .hero-content { animation: none; opacity: 1; }
    .reveal { transition: none; opacity: 1; transform: none; }
  }

  @media (max-width: 768px) {
    .hero { padding: 70px 1.25rem 60px; }
    .hero-tagline { font-size: 15px; }
    .sticky-shop-bar { padding: 8px 1.25rem; top: 52px; }
    body.dealer-view-active .sticky-shop-bar { top: 94px; }
    .sticky-shop-bar span { display: none; }
    .featured-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .cta-band { padding: 40px 1.25rem; border-radius: 14px; }
  }

  /* Light mode */
  body.light .hero { background: radial-gradient(ellipse at top, rgba(204,31,31,0.12), transparent 60%), #F5F5F5; }
  body.light .hero-tagline { color: #666; }
  body.light .sticky-shop-bar { background: rgba(255,255,255,0.92); border-bottom-color: #E8E8E8; }
  body.light .sticky-shop-bar span { color: #333; }
  body.light .section-heading p { color: #777; }
  body.light .featured-empty { color: #888; }
  body.light .cta-band { background: linear-gradient(180deg, rgba(204,31,31,0.05), rgba(204,31,31,0.01)); border-color: rgba(204,31,31,0.12); }
  body.light .cta-band p { color: #666; }
