/* ZVVEN home layout 375 FIX — 2026-11-03
   Hotfix for mobile horizontal overflow + stronger Powered-by hide + footer store shrink.
   Load AFTER zvven-home-layout-375-20261103.css. Homepage-linked; Powered hide is sitewide-safe.
*/

/* ----- Powered by EyouCms: sitewide hide when this CSS is linked ----- */
body .zf-footer__bottom a[href*="eyoucms.com"],
body .zf-footer__bottom a[href*="powerby.php"]{
  display:none!important;
}

/* Footer tel: links keep visual weight of <b> */
.zf-footer__contact a[href^="tel:"]{
  color:inherit!important;
  text-decoration:none!important;
  font-weight:600;
  border-bottom:1px solid rgba(248,242,233,.35);
}
.zf-footer__contact a[href^="tel:"] b{
  color:inherit!important;
  font-weight:inherit;
}
.zf-footer__contact a[href^="tel:"]:hover,
.zf-footer__contact a[href^="tel:"]:focus-visible{
  border-bottom-color:rgba(248,242,233,.85);
}

@media (max-width:820px){
  /* Document clip — stop any wide child from scrolling the page sideways */
  html,
  body.zf-home{
    overflow-x:hidden; /* fallback */
    overflow-x:clip;
    max-width:100%;
  }

  /* Containment: sections / shells cannot expand past viewport */
  body.zf-home .zf-hero--video,
  body.zf-home .zf-hero-video__content,
  body.zf-home .zf-hero-video__copy,
  body.zf-home .zf-shell,
  body.zf-home .zf-products,
  body.zf-home .zf-support-shell,
  body.zf-home .zf-about,
  body.zf-home .zf-about__grid,
  body.zf-home .zf-video-purchase{
    max-width:100%!important;
    box-sizing:border-box!important;
    min-width:0!important;
  }

  /* Series scroller: grid is the ONLY horizontal scroller; do not expand document */
  body.zf-home .zf-products{
    overflow-x:hidden!important;
  }
  body.zf-home .zf-products .zf-shell{
    overflow-x:hidden!important;
    width:min(100% - 32px,1180px)!important;
    max-width:100%!important;
  }
  body.zf-home .zf-product-grid{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow-x:auto!important;
    overscroll-behavior-x:contain;
    contain:inline-size;
  }

  /* Hero CTA: full width of copy, single column reinforced below */
  body.zf-home .zf-hero-cta{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    min-width:0!important;
  }
  body.zf-home .zf-hero-cta__btn{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Footer stores: allow shrink; prefer slightly smaller type over 2-line wrap */
  body.zf-home .zf-footer__stores,
  body.zf-home .zf-footer__store,
  .zf-footer__stores,
  .zf-footer__store{
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.zf-home .zf-footer__store,
  .zf-footer__store{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:12.5px!important;
    gap:6px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  body.zf-home .zf-footer__store span,
  .zf-footer__store span{
    white-space:nowrap!important;
    font-size:11px!important;
    flex-shrink:1;
    min-width:0;
  }
}

@media (max-width:420px){
  /* Reinforce single-column hero CTAs at phone widths */
  body.zf-home .zf-hero-cta{
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.zf-home .zf-hero-cta__btn{
    width:100%!important;
  }
  body.zf-home .zf-footer__store,
  .zf-footer__store{
    font-size:12px!important;
  }
}
