/* HNVUXS Mobile Foundation 1.3.0. Page content only; header rules stay in Dynamic Header. */
body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) #content{margin-top:64px!important}
body.hnv-mobile-foundation.single-product.hnv-topbar-active:not(.elementor-editor-active) #content{margin-top:94px!important}
body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) #primary{width:100%;min-width:0}
body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product{width:min(100%,1320px);margin-right:auto;margin-left:auto;padding:28px 24px 70px}
body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .woocommerce-product-gallery,
body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .summary{min-width:0}
body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .woocommerce-product-gallery img{width:100%!important;max-height:680px!important;object-fit:contain!important;background:#fff}
body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .product_title{overflow-wrap:normal;word-break:normal}
.hnv-mobile-product-back{display:none}

/* Cart product data must remain visible even when theme/translation styles conflict. */
body.hnv-mobile-foundation.woocommerce-cart .woocommerce-cart-form td.product-name,
body.hnv-mobile-foundation.woocommerce-cart .woocommerce-cart-form td.product-name a{visibility:visible!important;opacity:1!important;color:#142b3a!important;font-size:15px!important;line-height:1.45!important;text-indent:0!important}
body.hnv-mobile-foundation.woocommerce-cart .woocommerce-cart-form td.product-name a{display:inline!important;text-decoration:none!important}

/* Desktop WooCommerce utility pages are not image heroes: keep content below the fixed header. */
@media (min-width:1024px){
  body.hnv-mobile-foundation.woocommerce-cart:not(.elementor-editor-active) #content,
  body.hnv-mobile-foundation.woocommerce-checkout:not(.elementor-editor-active) #content,
  body.hnv-mobile-foundation.woocommerce-account:not(.elementor-editor-active) #content{margin-top:0!important;padding-top:64px!important}
  body.hnv-mobile-foundation.hnv-topbar-active.woocommerce-cart:not(.elementor-editor-active) #content,
  body.hnv-mobile-foundation.hnv-topbar-active.woocommerce-checkout:not(.elementor-editor-active) #content,
  body.hnv-mobile-foundation.hnv-topbar-active.woocommerce-account:not(.elementor-editor-active) #content{margin-top:0!important;padding-top:94px!important}
  body.hnv-mobile-foundation.woocommerce-cart:not(.elementor-editor-active) .hnv-live-header:not(.search-open):not(.menu-open),
  body.hnv-mobile-foundation.woocommerce-checkout:not(.elementor-editor-active) .hnv-live-header:not(.search-open):not(.menu-open),
  body.hnv-mobile-foundation.woocommerce-account:not(.elementor-editor-active) .hnv-live-header:not(.search-open):not(.menu-open){background:#fff!important;color:#142b3a!important;box-shadow:0 1px 0 rgba(20,43,58,.1)!important}
  body.hnv-mobile-foundation.woocommerce-cart .hnv-live-header .hnv-live-logo img,
  body.hnv-mobile-foundation.woocommerce-checkout .hnv-live-header .hnv-live-logo img,
  body.hnv-mobile-foundation.woocommerce-account .hnv-live-header .hnv-live-logo img{filter:none!important}
}

@media (min-width:768px){
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product{display:flow-root!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .woocommerce-product-gallery{float:left!important;clear:none!important;width:52%!important;margin:0 5% 34px 0!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .summary{float:right!important;clear:none!important;width:43%!important;margin:0!important;padding-top:0!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .summary>*:first-child{margin-top:0!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .woocommerce-tabs,
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .related{clear:both!important;width:100%!important}
}

@media (max-width:767px){
  html,body.hnv-mobile-foundation{max-width:100%;overflow-x:hidden;overflow-x:clip}
  body.hnv-mobile-foundation *,body.hnv-mobile-foundation *::before,body.hnv-mobile-foundation *::after{box-sizing:border-box}
  body.hnv-mobile-foundation img,body.hnv-mobile-foundation video,body.hnv-mobile-foundation canvas{max-width:100%;height:auto}
  body.hnv-mobile-foundation iframe{display:block;width:100%;max-width:100%}

  /* Product templates already reserve space above their content; remove the duplicate header spacer. */
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) .hnv-live-header-space{height:0!important;min-height:0!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) #content,
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) .site-content,
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) .site-content>.ast-container,
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) #primary,
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) #main{margin-top:0!important;padding-top:0!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:16px 16px 52px!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .woocommerce-product-gallery,
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .summary{float:none!important;width:100%!important;max-width:100%!important;margin:0!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .woocommerce-product-gallery{margin-bottom:24px!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .woocommerce-product-gallery img{width:100%!important;height:auto!important;max-height:420px!important;object-fit:contain!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .woocommerce-breadcrumb{margin:0 0 20px!important;font-size:12px!important;line-height:1.6!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product .product_title{margin-bottom:12px!important;font-size:clamp(27px,8vw,34px)!important;line-height:1.14!important;letter-spacing:-.02em!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product form.cart{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:10px!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product form.cart .quantity{display:grid!important;width:100%!important;grid-template-columns:44px minmax(0,1fr) 44px!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product form.cart .qty,
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product form.cart button,
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) div.product form.cart .button{width:100%!important;max-width:none!important;margin:0!important}
  body.hnv-mobile-foundation.single-product:not(.elementor-editor-active) .hnv-shop-safely ul{grid-template-columns:1fr!important}
  body.hnv-mobile-foundation.single-product .hnv-mobile-product-back{display:inline-flex;min-height:42px;margin:0 0 16px;padding:0 15px;align-items:center;gap:8px;border:1px solid #d5e0dc;border-radius:22px;background:#fff;color:#173349;font:700 13px/1 Arial,Helvetica,sans-serif;cursor:pointer}
  body.hnv-mobile-foundation.single-product .hnv-mobile-product-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}

  /* Exact-page containment; deliberately no global grid/Hero/Elementor overrides. */
  body.hnv-mobile-foundation #hnv-global-support,
  body.hnv-mobile-foundation #hnv-about-company,
  body.hnv-mobile-foundation #hnv-news-page,
  body.hnv-mobile-foundation #hnv-contact-page{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}

  body.hnv-mobile-foundation #hnv-global-support .hnv-global-hero,
  body.hnv-mobile-foundation #hnv-global-support .hnv-global-hero-content{right:auto!important;left:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;transform:none!important}
  body.hnv-mobile-foundation #hnv-global-support .hnv-global-hero-content{padding-right:20px!important;padding-left:20px!important;text-align:left!important}
  body.hnv-mobile-foundation #hnv-global-support .hnv-global-hero-content h2,
  body.hnv-mobile-foundation #hnv-global-support .hnv-global-hero-content h2>span{width:100%!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;font-size:clamp(30px,9vw,42px)!important;line-height:1.08!important;text-align:left!important}

  body.hnv-mobile-foundation #hnv-about-company .hnv-about-hero,
  body.hnv-mobile-foundation #hnv-about-company .hnv-about-hero-content{width:100%!important;max-width:100%!important;min-width:0!important}
  body.hnv-mobile-foundation #hnv-about-company .hnv-about-hero-content{padding-right:20px!important;padding-left:20px!important}
  body.hnv-mobile-foundation #hnv-about-company .hnv-about-hero h1,
  body.hnv-mobile-foundation #hnv-about-company .hnv-about-hero h2{max-width:100%!important;font-size:clamp(31px,9vw,42px)!important;line-height:1.08!important;overflow-wrap:normal!important;word-break:normal!important}

  body.hnv-mobile-foundation #hnv-news-page .hnv-news-shell{width:calc(100% - 28px)!important;max-width:100%!important;margin-right:auto!important;margin-left:auto!important}
  body.hnv-mobile-foundation #hnv-news-page .hnv-news-search{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  body.hnv-mobile-foundation #hnv-news-page .hnv-news-search button{width:100%!important}
  body.hnv-mobile-foundation #hnv-news-page .hnv-news-popular,
  body.hnv-mobile-foundation #hnv-news-page .hnv-news-filters{display:flex!important;max-width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch}
  body.hnv-mobile-foundation #hnv-news-page .hnv-news-popular>*,
  body.hnv-mobile-foundation #hnv-news-page .hnv-news-filters>*{flex:0 0 auto}

  body.hnv-mobile-foundation #hnv-contact-page .hnv-contact-hero,
  body.hnv-mobile-foundation #hnv-contact-page .hnv-contact-main,
  body.hnv-mobile-foundation #hnv-contact-page .hnv-inquiry-card,
  body.hnv-mobile-foundation #hnv-contact-page .hnv-contact-info{width:100%!important;max-width:100%!important;min-width:0!important}
  body.hnv-mobile-foundation #hnv-contact-page .hnv-contact-hero-content{right:auto!important;left:auto!important;width:100%!important;max-width:100%!important;padding-right:20px!important;padding-left:20px!important;transform:none!important}
  body.hnv-mobile-foundation #hnv-contact-page .hnv-contact-hero h1{max-width:100%!important;font-size:clamp(31px,8.5vw,38px)!important;line-height:1.08!important;overflow-wrap:normal!important;word-break:normal!important}
  body.hnv-mobile-foundation #hnv-contact-page .hnv-form-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;gap:8px!important}

  body.hnv-mobile-foundation .wpforms-container,
  body.hnv-mobile-foundation .wpforms-form,
  body.hnv-mobile-foundation .wpforms-field-container,
  body.hnv-mobile-foundation .wpforms-field-row{width:100%!important;max-width:100%!important}
  body.hnv-mobile-foundation .wpforms-field-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  body.hnv-mobile-foundation .wpforms-field-row-block{width:100%!important;margin:0!important;padding:0!important}
  body.hnv-mobile-foundation .wpforms-submit-container button{width:100%!important}

  body.hnv-mobile-foundation .cky-consent-container{right:10px!important;bottom:10px!important;left:10px!important;width:auto!important;max-width:calc(100vw - 20px)!important}
  body.hnv-mobile-foundation .cky-consent-container .cky-consent-bar{width:100%!important;max-width:100%!important;padding:20px 16px!important}
  body.hnv-mobile-foundation .cky-notice-btn-wrapper,
  body.hnv-mobile-foundation .cky-prefrence-btn-wrapper{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:8px!important}
  body.hnv-mobile-foundation .cky-notice-btn-wrapper .cky-btn,
  body.hnv-mobile-foundation .cky-prefrence-btn-wrapper .cky-btn{width:100%!important;min-width:0!important;margin:0!important}
}
