/* New 2 / Nov mobile follow-up: carousel visibility, natural card spacing, polished arrows. */
/* x-show.important handles the slides after Alpine starts, and x-cloak hides
   slides 2–4 beforehand; never force display:block!important on slides. */
.f1-home .f1-hero-carousel > .f1-hero-layout[x-cloak]{display:none!important;}
.f1-home .f1-hero-carousel > .f1-hero-layout[style*="display: none"]{display:none!important;}
.f1-home .f1-hero-carousel > .f1-hero-layout[style*="display:none"]{display:none!important;}
.f1-home .f1-hero-carousel > .f1-hero-layout[style*="display: block"]{display:grid!important;}
.f1-home .f1-formula-visual-tag{display:none!important;}
/* Standalone cards: keep name near top, give price a balanced center position,
   and align purchase buttons at the bottom without a giant empty gap after price. */
.f1-home .f1-bestsellers .f1-products .anp-product:not(:has(.anp-card-variation)) .anp-product-info{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
}
.f1-home .f1-bestsellers .f1-products .anp-product:not(:has(.anp-card-variation)) .anp-product-bottom{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:1 1 auto!important;min-height:45px!important;
  margin:0!important;padding:9px 0 6px!important;
}
.f1-home .f1-bestsellers .f1-products .anp-product:not(:has(.anp-card-variation)) .anp-card-cart{
  margin:0!important;flex:0 0 auto!important;
}
.f1-home .f1-bestsellers .f1-products .anp-product:not(:has(.anp-card-variation)) .anp-card-buttons{
  margin:0!important;
}
.anp-arrow-svg{display:inline-block!important;flex:0 0 17px!important;width:17px!important;height:17px!important;vertical-align:-3px!important;color:inherit!important;max-width:100%!important;}
.f1-home .f1-goal-arrow .anp-arrow-svg{width:18px!important;height:18px!important;flex-basis:18px!important;vertical-align:middle!important}
.f1-home .f1-hero-arrow .anp-arrow-svg{width:19px!important;height:19px!important;flex-basis:19px!important}
.f1-home .f1-bs-arrow .anp-arrow-svg,.f1-home .f1-featured-nav .anp-arrow-svg{width:18px!important;height:18px!important;flex-basis:18px!important}
.anp-header .anp-menu-chevron .anp-arrow-svg{width:14px!important;height:14px!important;flex-basis:14px!important;}
/* Never render colorful emoji from the fallback glyph on goal-card arrows.
   A simple CSS chevron is available before JavaScript replaces the character. */
.f1-home .anp-goals-v2 .f1-goal-arrow{font-size:0!important;line-height:0!important;overflow:hidden!important;}
.f1-home .anp-goals-v2 .f1-goal-arrow:empty:after{content:'';}
.f1-home .anp-goals-v2 .f1-goal-arrow:not(:has(.anp-arrow-svg)):after{
  content:''!important;display:block!important;position:absolute!important;
  height:11px!important;width:11px!important;
  border-right:2px solid currentColor!important;border-top:2px solid currentColor!important;
  transform:translate(-2px,2px)!important;
}
.f1-home .anp-goals-v2 .f1-goal-arrow:not(:has(.anp-arrow-svg)):before{
  content:''!important;display:block!important;position:absolute!important;
  width:13px!important;height:2px!important;background:currentColor!important;
  transform:rotate(-45deg) translate(0px,0px)!important;
}
@media(max-width:760px){
 .f1-home .f1-hero-carousel > .f1-hero-layout[style*="display: block"]{
   display:block!important;
 }
 .f1-home .f1-bestsellers .f1-products .anp-product:not(:has(.anp-card-variation)) .anp-product-bottom{
   min-height:65px!important;padding:5px 0!important;
 }
 .f1-home .f1-bestsellers .f1-products .anp-product:not(:has(.anp-card-variation)) .anp-product-info h3{
   min-height:42px!important;
 }
 .f1-home .f1-bestsellers .f1-products .anp-product:not(:has(.anp-card-variation)) .anp-card-cart{
   margin:0!important;
 }
 .f1-home .f1-hero-carousel > .f1-hero-layout[x-cloak]{display:none!important;}
 .f1-home .f1-hero-carousel > .f1-hero-layout[style*="display: none"]{display:none!important;}
}
/* Consistent mobile arrows across homepage and navigation */
@media(max-width:760px){
 .f1-home .f1-goal-arrow .anp-arrow-svg{width:16px!important;height:16px!important;flex-basis:16px!important}
 .anp-arrow-svg{width:16px!important;height:16px!important;flex-basis:16px!important}
}
