/* Homepage shop cards and compact mobile section layout; no admin/global selectors. */
#fmHome #home-products{padding:24px 0;}
#fmHome .gf-home-products-inner{background:#fff;padding:28px;border-radius:15px;}
#fmHome .gf-home-products-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px;}
#fmHome .gf-home-products-heading h2{margin:0;color:#353535;}
#fmHome .gf-home-products-heading a{color:#353535;font-weight:750;}
#fmHome .gf-home-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;}
#fmHome .gf-home-product-card{background:#f4f5f7;border:1px solid #e4e7ec;border-radius:15px;padding:16px;min-width:0;}
#fmHome .gf-home-product-card a{color:#353535;text-decoration:none;}
#fmHome .gf-home-product-card img{width:100%;height:190px;object-fit:cover;display:block;}
#fmHome .gf-home-product-card h3{font-size:1rem;margin:12px 0 8px;}
#fmHome .gf-home-product-price{color:#535353;}
@media(max-width:991px){#fmHome .gf-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 767px) {
  /* Mobile edge-to-edge applies ONLY to the outer homepage shells.
     Never flatten descendants: reviews, product cards, badges, buttons and
     other inner components retain their own border radius and spacing. */
  .slider,
  .slider .slider-viewport,
  .slider .slide,
  #fmHome,
  #fmHome > section,
  #fmHome > #section,
  #fmHome #portal-2027-banner,
  #fmHome .gf-home-products-inner {
    border-radius: 0 !important;
  }
  .slider,
  #fmHome > section,
  #fmHome > #section,
  #fmHome #portal-2027-banner,
  #fmHome .gf-home-products-inner {
    margin-bottom: 0 !important;
  }
  #fmHome > section + section { margin-top: 0 !important; }

  #fmHome .gf-home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #fmHome .gf-home-products-inner { padding: 15px 0; }
  #fmHome .gf-home-product-card { padding: 12px; }
}
