/* Landing pages on phones (owner 2026-09-27, mobile conversion): a shopper from
   an ad or a search must see real products with prices on the first screen.
   Before this the first product sat ~5,000px down (/custom-hoodies: 0.21% phone
   conversion in Google Ads). Shared by all 191 landing templates through
   LandingAsset; nothing here applies above 767px.

   - the sticky header drops its category strip and search row (the bottom bar
     has Search), as on product and category pages;
   - the hero keeps the headline and its two buttons, side by side; the photo,
     subtitle, feature ticks and breadcrumb are hidden (all stay in the HTML);
   - the product grid moves up to right under the hero (CSS order only; the
     HTML order and SEO copy are unchanged), two cards per row. */
@media (max-width: 767px) {
  body:has(main.landing-page-new) nav#navbar-new .mobile-categories { display: none !important; }
  body:has(main.landing-page-new) nav#navbar-new .navbar-top-section .navbar-container > .visible-xs { display: none !important; }

  main.landing-page-new { display: flex; flex-direction: column; }
  main.landing-page-new > * { order: 3; }
  main.landing-page-new > .lp-hero { order: 0; }
  main.landing-page-new > section:has(> .container > .pp-grid) { order: 1; padding: 12px 0 28px !important; }
  main.landing-page-new > .lp-shipping-bar { order: 2; }

  main.landing-page-new .lp-hero { padding-top: 14px !important; padding-bottom: 16px !important; }
  main.landing-page-new .lp-hero-grid { min-height: 0 !important; display: block !important; }
  main.landing-page-new .lp-hero-image,
  main.landing-page-new .lp-hero-wave,
  main.landing-page-new .lp-hero-features,
  main.landing-page-new .lp-breadcrumb,
  main.landing-page-new .lp-hero-subtitle { display: none !important; }
  main.landing-page-new .lp-hero-title { font-size: 26px !important; line-height: 1.15 !important; margin: 0 0 12px !important; }
  main.landing-page-new .lp-hero-ctas { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 !important; }
  main.landing-page-new .lp-hero-ctas a { min-height: 48px; padding: 10px 8px !important; font-size: 15px !important; justify-content: center; width: auto !important; margin: 0 !important; }

  main.landing-page-new > section:has(> .container > .pp-grid) > .container > h2 { font-size: 22px !important; margin: 0 0 10px !important; }
  main.landing-page-new > section:has(> .container > .pp-grid) > .container > .subtitle { display: none !important; }
  main.landing-page-new .pp-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  main.landing-page-new .pp-card-image { height: auto !important; aspect-ratio: 1 / 1; }
  main.landing-page-new .pp-card-image img { width: 100% !important; height: 100% !important; object-fit: contain; }
  main.landing-page-new .pp-card-content { padding: 8px 10px 10px !important; }
  main.landing-page-new .pp-card-name { font-size: 13px !important; line-height: 1.3 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  main.landing-page-new .pp-card-brand { display: none !important; }
  main.landing-page-new .pp-card-btn { min-height: 44px; display: flex !important; align-items: center; justify-content: center; }
}
/* Short screens (iPhone SE in Safari): smaller product photos so the first
   two prices still show above the bottom bar. */
@media (max-width: 767px) and (max-height: 620px) {
  main.landing-page-new .lp-hero { padding-bottom: 8px !important; }
  main.landing-page-new .lp-hero-title { font-size: 22px !important; }
  main.landing-page-new > section:has(> .container > .pp-grid) { padding-top: 6px !important; }
  main.landing-page-new > section:has(> .container > .pp-grid) > .container > h2 { font-size: 18px !important; margin-bottom: 6px !important; }
  main.landing-page-new .pp-card-image { aspect-ratio: auto; height: 120px !important; }
}
