/* One.v2.43 — Hero text auto-fit and anti-merge layer.
   Loaded last so every slide keeps complete, readable text inside the fixed frame. */
.reference-storefront-v415 #home .reference-hero-copy{
  min-height:0!important;
  height:100%!important;
  max-height:100%!important;
  overflow:hidden!important;
  align-content:start!important;
  justify-content:flex-start!important;
  padding-top:18px!important;
  padding-bottom:16px!important;
}
.reference-storefront-v415 #home #heroEyebrow{
  flex:0 0 auto!important;
  min-height:1.2em!important;
  line-height:1.2!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.reference-storefront-v415 #home #heroTitle{
  flex:0 0 auto!important;
  max-height:none!important;
  overflow:visible!important;
  line-height:1.02!important;
  margin:5px 0 7px!important;
  text-wrap:balance;
  overflow-wrap:normal!important;
  word-break:normal!important;
  white-space:nowrap!important;
  max-width:100%!important;
}
.reference-storefront-v415 #home #heroTitle b{display:inline;font-size:inherit;line-height:inherit}
.reference-storefront-v415 #home #heroCopy{
  flex:0 0 auto!important;
  margin:0 0 12px!important;
  line-height:1.42!important;
  -webkit-line-clamp:2!important;
}
.reference-storefront-v415 #home .reference-hero-features{flex:0 0 auto!important;margin:0 0 12px!important;gap:7px!important}
.reference-storefront-v415 #home .reference-hero-buttons{flex:0 0 auto!important;gap:10px!important}
.reference-storefront-v415 #home .reference-btn{height:44px!important}
.reference-storefront-v415 #home .reference-hero-dots{flex:0 0 auto!important;margin:10px 0 0!important}

/* Desktop text levels are selected after measuring the real rendered content. */
.reference-storefront-v415 #home[data-hero-text-fit="normal"] #heroTitle{font-size:clamp(38px,3.15vw,46px)!important}
.reference-storefront-v415 #home[data-hero-text-fit="compact"] #heroTitle{font-size:clamp(34px,2.8vw,41px)!important;letter-spacing:.012em!important}
.reference-storefront-v415 #home[data-hero-text-fit="compact"] #heroCopy{font-size:14px!important;margin-bottom:10px!important}
.reference-storefront-v415 #home[data-hero-text-fit="compact"] .reference-hero-features{margin-bottom:10px!important}
.reference-storefront-v415 #home[data-hero-text-fit="small"] #heroTitle{font-size:clamp(30px,2.45vw,36px)!important;line-height:1!important;letter-spacing:0!important}
.reference-storefront-v415 #home[data-hero-text-fit="small"] #heroEyebrow{font-size:10px!important}
.reference-storefront-v415 #home[data-hero-text-fit="small"] #heroCopy{font-size:13px!important;margin-bottom:8px!important}
.reference-storefront-v415 #home[data-hero-text-fit="small"] .reference-hero-features{margin-bottom:8px!important;gap:5px!important}
.reference-storefront-v415 #home[data-hero-text-fit="small"] .reference-hero-features b{font-size:10px!important}
.reference-storefront-v415 #home[data-hero-text-fit="small"] .reference-hero-features small{font-size:8px!important}
.reference-storefront-v415 #home[data-hero-text-fit="small"] .reference-btn{height:40px!important;font-size:12px!important}
.reference-storefront-v415 #home[data-hero-text-fit="small"] .reference-hero-dots{margin-top:7px!important}
.reference-storefront-v415 #home[data-hero-text-fit="tiny"] #heroTitle{font-size:clamp(27px,2.15vw,32px)!important;line-height:.98!important;letter-spacing:0!important}
.reference-storefront-v415 #home[data-hero-text-fit="tiny"] #heroEyebrow{font-size:9px!important;letter-spacing:.1em!important}
.reference-storefront-v415 #home[data-hero-text-fit="tiny"] #heroCopy{font-size:12px!important;line-height:1.35!important;margin-bottom:6px!important}
.reference-storefront-v415 #home[data-hero-text-fit="tiny"] .reference-hero-features{margin-bottom:6px!important;gap:4px!important}
.reference-storefront-v415 #home[data-hero-text-fit="tiny"] .reference-hero-features b{font-size:9px!important}
.reference-storefront-v415 #home[data-hero-text-fit="tiny"] .reference-hero-features small{display:none!important}
.reference-storefront-v415 #home[data-hero-text-fit="tiny"] .reference-btn{height:38px!important;min-width:132px!important;font-size:11px!important}
.reference-storefront-v415 #home[data-hero-text-fit="tiny"] .reference-hero-dots{margin-top:5px!important}
.reference-storefront-v415 #home[data-hero-text-fit="micro"] #heroTitle{font-size:clamp(23px,1.9vw,28px)!important;line-height:.98!important;letter-spacing:0!important}
.reference-storefront-v415 #home[data-hero-text-fit="micro"] #heroEyebrow{font-size:8px!important;letter-spacing:.08em!important}
.reference-storefront-v415 #home[data-hero-text-fit="micro"] #heroCopy{font-size:11px!important;line-height:1.3!important;margin-bottom:5px!important}
.reference-storefront-v415 #home[data-hero-text-fit="micro"] .reference-hero-features{margin-bottom:5px!important;gap:3px!important}
.reference-storefront-v415 #home[data-hero-text-fit="micro"] .reference-hero-features b{font-size:8px!important}
.reference-storefront-v415 #home[data-hero-text-fit="micro"] .reference-hero-features small{display:none!important}
.reference-storefront-v415 #home[data-hero-text-fit="micro"] .reference-btn{height:36px!important;min-width:118px!important;font-size:10px!important}
.reference-storefront-v415 #home[data-hero-text-fit="micro"] .reference-hero-dots{margin-top:4px!important}
.reference-storefront-v415 #home[data-hero-text-fit="nano"] #heroTitle{font-size:clamp(20px,1.65vw,25px)!important;line-height:.98!important;letter-spacing:0!important}
.reference-storefront-v415 #home[data-hero-text-fit="nano"] #heroEyebrow{font-size:7px!important;letter-spacing:.06em!important}
.reference-storefront-v415 #home[data-hero-text-fit="nano"] #heroCopy{font-size:10px!important;line-height:1.25!important;margin-bottom:4px!important}
.reference-storefront-v415 #home[data-hero-text-fit="nano"] .reference-hero-features{margin-bottom:4px!important;gap:2px!important}
.reference-storefront-v415 #home[data-hero-text-fit="nano"] .reference-hero-features b{font-size:7px!important}
.reference-storefront-v415 #home[data-hero-text-fit="nano"] .reference-hero-features small{display:none!important}
.reference-storefront-v415 #home[data-hero-text-fit="nano"] .reference-btn{height:34px!important;min-width:105px!important;font-size:9px!important}
.reference-storefront-v415 #home[data-hero-text-fit="nano"] .reference-hero-dots{margin-top:3px!important}
.reference-storefront-v415 #home[data-hero-text-fit="pico"] #heroTitle{font-size:clamp(17px,1.45vw,22px)!important;line-height:.98!important;letter-spacing:0!important}
.reference-storefront-v415 #home[data-hero-text-fit="pico"] #heroEyebrow{font-size:7px!important;letter-spacing:.04em!important}
.reference-storefront-v415 #home[data-hero-text-fit="pico"] #heroCopy{font-size:9px!important;line-height:1.2!important;margin-bottom:3px!important}
.reference-storefront-v415 #home[data-hero-text-fit="pico"] .reference-hero-features{margin-bottom:3px!important;gap:2px!important}
.reference-storefront-v415 #home[data-hero-text-fit="pico"] .reference-hero-features b{font-size:7px!important}
.reference-storefront-v415 #home[data-hero-text-fit="pico"] .reference-hero-features small{display:none!important}
.reference-storefront-v415 #home[data-hero-text-fit="pico"] .reference-btn{height:32px!important;min-width:96px!important;font-size:8px!important}
.reference-storefront-v415 #home[data-hero-text-fit="pico"] .reference-hero-dots{margin-top:2px!important}

@media (min-width:901px){
  .reference-storefront-v415 #home .reference-hero-copy{padding-left:50px!important;padding-right:18px!important}
}

/* Tablet/mobile already has a separate image row; preserve all text without merged lines. */
@media (max-width:900px){
  .reference-storefront-v415 #home .reference-hero-copy,
  .reference-storefront-v415 #home[data-hero-fixed-frame="on"] .reference-hero-copy{
    padding-top:14px!important;
    padding-bottom:13px!important;
    overflow:hidden!important;
  }
  .reference-storefront-v415 #home #heroTitle{line-height:1.02!important;margin:4px 0 6px!important}
  .reference-storefront-v415 #home[data-hero-text-fit="normal"] #heroTitle{font-size:clamp(28px,6vw,40px)!important}
  .reference-storefront-v415 #home[data-hero-text-fit="compact"] #heroTitle{font-size:clamp(26px,5.4vw,35px)!important}
  .reference-storefront-v415 #home[data-hero-text-fit="small"] #heroTitle{font-size:clamp(24px,4.8vw,31px)!important}
  .reference-storefront-v415 #home[data-hero-text-fit="tiny"] #heroTitle{font-size:clamp(22px,4.4vw,28px)!important}
  .reference-storefront-v415 #home[data-hero-text-fit="micro"] #heroTitle{font-size:clamp(18px,4vw,24px)!important}
  .reference-storefront-v415 #home[data-hero-text-fit="nano"] #heroTitle{font-size:clamp(14px,3.5vw,20px)!important}
  .reference-storefront-v415 #home[data-hero-text-fit="pico"] #heroTitle{font-size:clamp(12px,3.2vw,18px)!important}
}

@media (max-width:620px){
  .reference-storefront-v415 #home #heroEyebrow{white-space:nowrap!important;font-size:9px!important}
  .reference-storefront-v415 #home #heroCopy{font-size:11px!important;line-height:1.35!important;margin-bottom:7px!important}
  .reference-storefront-v415 #home .reference-hero-features{margin-bottom:7px!important}
  .reference-storefront-v415 #home .reference-hero-buttons{gap:7px!important}
  .reference-storefront-v415 #home .reference-btn{height:39px!important}
  .reference-storefront-v415 #home .reference-hero-dots{margin-top:6px!important}
}
