/* Hebemys Eco v3.27 — Mobile visual system.
   This stylesheet is loaded last and only for screens <=781px. No checkout/cart logic.
   Primary: #B24097; brand blue: #085385; shared radii and 16px gutters.
*/
:root{
  --heco-m-gutter:16px;
  --heco-m-gap:10px;
  --heco-m-radius:14px;
}
body{overflow-x:clip}

/* 1. Header: centered icon buttons, slightly larger logo, predictable tap targets. */
body .heco-header-inner{
  grid-template-columns:44px minmax(0,1fr) auto!important;
  min-height:68px!important;
  padding:9px var(--heco-m-gutter)!important;
  gap:8px!important;
}
body .heco-header .wp-block-site-logo{max-width:150px!important;min-width:0!important}
body .heco-header .wp-block-site-logo img{max-width:clamp(118px,35vw,150px)!important;max-height:42px!important;object-fit:contain}
body .heco-header-tools{gap:6px!important;min-width:0;align-items:center!important}
body .heco-account-link,
body .heco-mobile-search-toggle,
body .heco-header .wc-block-mini-cart__button,
body .heco-main-nav .wp-block-navigation__responsive-container-open{
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
  flex:0 0 42px!important;padding:8px!important;border-radius:13px!important;
  border:1px solid #E3E9EE!important;background:#fff!important;
  box-shadow:0 2px 9px rgba(8,83,133,.025)!important;
}
body .heco-header .wc-block-mini-cart__button{display:flex!important;align-items:center;justify-content:center}
body .heco-header .wc-block-mini-cart__badge{font-variant-numeric:tabular-nums}
body .heco-mobile-search-panel.is-open{padding-inline:var(--heco-m-gutter)!important}
body .heco-header .heco-mobile-search-form input[type="search"]{font-size:16px!important}

/* 2. Real and legacy video hero: balanced editorial typography, four equal-width CTAs. */
body .heco-video-hero-shell,
body .heco-hero.heco-legacy-video-hero{
  min-height:clamp(530px,73svh,645px)!important;height:auto!important;
}
body .heco-video-hero-inner,
body .heco-legacy-video-hero>.heco-hero-columns{
  min-height:clamp(530px,73svh,645px)!important;
  padding:34px var(--heco-m-gutter) 39px!important;
  align-items:flex-end!important;
}
body .heco-legacy-video-hero>.heco-hero-columns>.wp-block-column:first-child{
  width:100%!important;max-width:100%!important;flex-basis:100%!important;min-width:0!important;
}
body .heco-video-hero-copy,
body .heco-legacy-video-hero .heco-hero-columns>.wp-block-column:first-child{max-width:570px!important}
body .heco-video-hero-kicker,
body .heco-legacy-video-hero .heco-hero-kicker{
  font-size:clamp(.72rem,2.8vw,.82rem)!important;margin-bottom:7px!important;
  line-height:1.55!important;letter-spacing:0!important;
}
body .heco-video-hero-copy h1,
body .heco-legacy-video-hero .heco-hero-title{
  font-size:clamp(2rem,8.6vw,2.85rem)!important;
  line-height:1.23!important;letter-spacing:-.025em!important;
  margin:0 0 13px!important;
  max-width:100%!important;overflow-wrap:normal;
  text-shadow:0 3px 16px rgba(0,0,0,.18);
}
body .heco-video-hero-text,
body .heco-legacy-video-hero .heco-hero-copy{
  max-width:100%!important;margin:0 0 24px!important;
  color:#F0F5F8!important;font-size:clamp(.87rem,3.25vw,.97rem)!important;
  line-height:1.9!important;text-wrap:pretty;
}
body .heco-video-hero-shell::after,
body .heco-hero.heco-legacy-video-hero::after{
  background:linear-gradient(180deg,rgba(4,29,47,.06) 0%,rgba(4,29,47,.38) 32%,rgba(4,29,47,.88) 73%,rgba(4,29,47,.96) 100%)!important;
}
body .heco-video-hero-actions,
body .heco-legacy-video-hero .heco-hero-actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;gap:10px!important;
  width:100%!important;max-width:570px!important;margin:0!important;
  align-items:stretch!important;justify-items:stretch!important;
}
body .heco-video-hero-actions>a,
body .heco-legacy-video-hero .heco-hero-actions>.wp-block-button,
body .heco-legacy-video-hero .heco-hero-actions>.wp-block-button .wp-block-button__link{
  box-sizing:border-box!important;grid-column:auto!important;
  justify-self:stretch!important;width:100%!important;min-width:0!important;max-width:none!important;
  margin:0!important;
}
body .heco-video-hero-actions>a,
body .heco-legacy-video-hero .heco-hero-actions>.wp-block-button .wp-block-button__link{
  display:flex!important;justify-content:center!important;align-items:center!important;
  white-space:normal!important;word-break:normal!important;text-align:center!important;
  padding:9px 9px!important;border-radius:13px!important;
  font-size:clamp(.76rem,2.9vw,.92rem)!important;font-weight:800!important;
  line-height:1.5!important;
  min-height:52px!important;
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease!important;
}
/* The second row is still button-shaped but visibly quieter. */
body .heco-video-hero-actions>.heco-mobile-cta-beans,
body .heco-video-hero-actions>.heco-mobile-cta-premium,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-beans .wp-block-button__link,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-premium .wp-block-button__link,
body .heco-video-hero-actions>.heco-video-hero-premium,
body .heco-legacy-video-hero .heco-hero-actions>.heco-premium-button .wp-block-button__link{
  min-height:45px!important;padding:8px 10px!important;
  border:1px solid rgba(200,220,233,.60)!important;
  background:rgba(6,36,58,.40)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
  color:#F5F9FC!important;font-weight:700!important;
}
/* Existing legacy blocks carry an older :not(.heco-btn-outline) !important rule.
   Add one class of specificity so Premium stays visibly secondary. */
body .heco-legacy-video-hero .heco-hero-actions>.wp-block-button.heco-mobile-cta-premium .wp-block-button__link,
body .heco-legacy-video-hero .heco-hero-actions>.wp-block-button.heco-mobile-cta-beans .wp-block-button__link{
  min-height:45px!important;
  border:1px solid rgba(200,220,233,.60)!important;
  background:rgba(6,36,58,.40)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
  color:#F5F9FC!important;
}
body .heco-video-hero-actions>.heco-mobile-cta-beans:hover,
body .heco-video-hero-actions>.heco-mobile-cta-premium:hover,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-beans .wp-block-button__link:hover,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-premium .wp-block-button__link:hover{
  background:rgba(8,83,133,.52)!important;border-color:#F2F5F8!important;
}
body .heco-video-hero-actions>.heco-mobile-cta-primary,
body .heco-video-hero-actions>.heco-video-hero-primary,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-primary .wp-block-button__link{
  background:#B24097!important;border:1px solid #B24097!important;
  box-shadow:0 8px 22px rgba(178,64,151,.22)!important;color:#fff!important;
}
body .heco-video-hero-actions>.heco-mobile-cta-secondary,
body .heco-video-hero-actions>.heco-video-hero-secondary,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-secondary .wp-block-button__link{
  background:rgba(7,50,78,.46)!important;border:1px solid rgba(222,235,243,.75)!important;
  box-shadow:none!important;color:#fff!important;
}
body .heco-video-hero-actions>.heco-mobile-cta-primary,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-primary{order:1!important}
body .heco-video-hero-actions>.heco-mobile-cta-secondary,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-secondary{order:2!important}
body .heco-video-hero-actions>.heco-mobile-cta-beans,
body .heco-legacy-video-hero .heco-hero-actions>.heco-mobile-cta-beans{order:3!important}
body .heco-video-hero-actions>.heco-mobile-cta-premium,
body .heco-video-hero-actions>.heco-video-hero-premium,
body .heco-legacy-video-hero .heco-hero-actions>.heco-premium-button{order:4!important}
body .heco-video-hero-actions a.heco-video-hero-premium::after{display:none!important;content:none!important}
body .heco-video-hero-actions a:focus-visible,
body .heco-legacy-video-hero .heco-hero-actions a:focus-visible{outline:3px solid #F0C2E2!important;outline-offset:3px}

/* 3. Category strip and headings: comfortable horizontal browsing, no cropped text. */
body .heco-category-section{padding-top:19px!important;padding-bottom:5px!important}
body .heco-category-strip{gap:10px!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important;padding-bottom:11px!important}
body .heco-category-strip::-webkit-scrollbar{display:none}
body .heco-category-strip .heco-category-item{
  flex-basis:clamp(166px,47vw,196px)!important;height:77px!important;min-height:77px!important;
  padding:11px 13px!important;border-color:#DEE8F0!important;
}
body .heco-home-products{padding-top:30px!important;padding-bottom:36px!important}
body .heco-products-heading{align-items:flex-start!important;gap:10px!important}
body .heco-section-title{font-size:1.78rem!important;line-height:1.3!important}
body .heco-price-note{border-radius:10px!important;padding:10px 12px!important;font-size:.77rem!important}
body .heco-catalog-group+.heco-catalog-group{margin-top:42px!important;padding-top:27px!important}
body .heco-catalog-group-head{margin-bottom:15px!important;gap:9px!important}
body .heco-catalog-group-title{font-size:1.42rem!important;line-height:1.42!important}
body .heco-catalog-group-meta{font-size:.82rem!important;line-height:1.7!important}
body .heco-catalog-group-count{min-height:30px!important;padding:4px 10px!important}

/* 4. Product cards: one clear vertical rhythm and comparison-first price. */
body .heco-demo-catalog{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
body .heco-product-card{border-radius:16px!important;box-shadow:0 4px 18px rgba(8,83,133,.04)!important}
body .heco-product-media{aspect-ratio:5/3.7!important;max-height:270px!important;background:#F8F9FB!important}
body .heco-product-media img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
body .heco-product-card-body{padding:15px 16px 16px!important}
body .heco-product-card h3{font-size:1.08rem!important;line-height:1.48!important}
body .heco-product-desc{margin:8px 0 11px!important;line-height:1.68!important}
body .heco-product-card-bottom{align-items:center!important;gap:10px!important;padding-top:13px!important}
body .heco-product-card-bottom .heco-price{min-width:0!important;overflow-wrap:anywhere;font-size:1rem!important}
body .heco-card-button:not(.is-disabled){min-width:112px!important;min-height:44px!important;padding:9px 13px!important}
/* Progressive enhancement: JS creates a real expansion button before hiding extra cards. */
body .heco-mobile-collapsed .heco-product-card:nth-child(n+5){display:none!important}
body .heco-mobile-collapsed.is-expanded .heco-product-card:nth-child(n+5){display:flex!important}
body .heco-mobile-more{
  display:flex!important;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:46px;margin-top:13px;padding:9px 16px;
  border:1px solid #C6D8E5;border-radius:13px;background:#fff;color:#085385;
  font-size:.88rem;font-weight:800;line-height:1.6;font-family:inherit;cursor:pointer;box-shadow:0 2px 12px rgba(8,83,133,.035);
}
body .heco-mobile-more:hover{border-color:#085385;background:#F1F7FA}
body .heco-mobile-more:focus-visible{outline:2px solid #085385;outline-offset:3px}

/* 5. Product details: hierarchy and touch-size, but no changes to WooCommerce values. */
body .heco-single-product{padding-block:21px 38px!important}
body .heco-product-shell{padding:15px!important;border-radius:18px!important;box-shadow:none!important}
body .heco-product-shell .wp-block-columns{gap:16px!important}
body .heco-product-shell .wp-block-post-title{font-size:clamp(1.45rem,6vw,1.85rem)!important;line-height:1.4!important}
body .heco-product-shell .wp-block-woocommerce-product-image-gallery,
body .heco-product-shell .wp-block-woocommerce-product-gallery{border-radius:15px!important;padding:8px!important}
body .heco-product-shell .variations select{min-height:49px!important;padding-block:8px!important;font-size:16px!important}
body .heco-product-shell .single_add_to_cart_button{min-height:48px!important;padding:10px 22px!important}
body .heco-product-shell input.qty{min-height:48px!important;font-size:16px!important}
body .heco-product-shell .woocommerce-variation-price{border-radius:12px!important}

/* 6. Footer and quiet ancillary sections. */
body .heco-benefits-wrap{padding-block:22px 30px!important}
body .heco-feature{border-radius:13px!important}
body .heco-footer{padding-top:32px!important}
body .heco-footer-columns.wp-block-columns{gap:23px 17px!important}
body .heco-footer-bottom{padding-bottom:env(safe-area-inset-bottom,0px)!important}

@media(max-width:370px){
  :root{--heco-m-gutter:12px}
  body .heco-header .wp-block-site-logo img{max-width:112px!important}
  body .heco-header-tools{gap:4px!important}
  body .heco-account-link,body .heco-mobile-search-toggle,
  body .heco-header .wc-block-mini-cart__button,
  body .heco-main-nav .wp-block-navigation__responsive-container-open{
    width:38px!important;height:40px!important;min-width:38px!important;min-height:40px!important;flex-basis:38px!important;
  }
  body .heco-video-hero-actions,body .heco-legacy-video-hero .heco-hero-actions{gap:8px!important}
  body .heco-video-hero-actions>a,body .heco-legacy-video-hero .heco-hero-actions .wp-block-button__link{
    font-size:.75rem!important;padding-inline:6px!important;
  }
  body .heco-video-hero-copy h1,body .heco-legacy-video-hero .heco-hero-title{font-size:clamp(1.82rem,8.3vw,2.2rem)!important}
}
@media(prefers-reduced-motion:reduce){
  body .heco-video-hero-actions>a,body .heco-legacy-video-hero .heco-hero-actions a{transition:none!important}
}


/* v3.29.6 — hero height follows content on phones, not viewport height.
 * Both the modern hero pattern and WordPress's saved legacy front-page hero
 * share this rule. Keep the visual layout/CTAs intact and leave exactly
 * 24px of breathing room below the buttons. Desktop remains unchanged.
 */
@media (max-width:781px){
  body.heco-front-page .heco-video-hero,
  body.heco-front-page .heco-hero.heco-legacy-video-hero{
    margin-block:0!important;
    padding-block:0!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
  }
  body.heco-front-page .heco-video-hero-shell{
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
  }
  body.heco-front-page .heco-video-hero-inner,
  body.heco-front-page .heco-legacy-video-hero>.heco-hero-columns{
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    margin-block:0!important;
    padding-block-start:clamp(100px,14.5svh,132px)!important;
    padding-block-end:24px!important;
    align-items:flex-end!important;
  }
  /* The original pattern used an older full-row Premium grid rule.
     Match the approved 2 × 2 mobile CTA arrangement of the saved page. */
  body.heco-front-page .heco-video-hero-actions > a.heco-video-hero-premium{
    grid-column:auto!important;
    width:100%!important;
    justify-self:stretch!important;
  }
}
