/* Scoped storefront homepage product slider: visual-only controls. */
.csh-products:has(> .hbv1-product-carousel){position:relative}
.csh-products .hbv1-product-carousel .product-grid{scrollbar-width:none!important;-ms-overflow-style:none!important}
.csh-products .hbv1-product-carousel .product-grid::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.csh-products:has(> .hbv1-product-carousel)>.hbv1-nav{position:absolute;top:50%;left:0;right:0;z-index:8;margin:0;display:flex;justify-content:space-between;align-items:center;transform:translateY(-50%);pointer-events:none}
.csh-products:has(> .hbv1-product-carousel)>.hbv1-nav button{pointer-events:auto;width:40px;height:40px;min-width:40px;min-height:40px;border-radius:50%;background:#fff;border:1px solid #ccd2db;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.csh-products:has(> .hbv1-product-carousel)>.hbv1-nav button:first-child{margin-left:-20px}
.csh-products:has(> .hbv1-product-carousel)>.hbv1-nav button:last-child{margin-right:-20px}
@media(max-width:640px){.csh-products:has(> .hbv1-product-carousel)>.hbv1-nav button{width:34px;height:34px;min-width:34px;min-height:34px}.csh-products:has(> .hbv1-product-carousel)>.hbv1-nav button:first-child{margin-left:-8px}.csh-products:has(> .hbv1-product-carousel)>.hbv1-nav button:last-child{margin-right:-8px}}

/* Homepage Builder mobile: title and view-all share one horizontal row. */
@media (max-width:640px){
  section[data-homepage-product-section] > .csh-section-head{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    column-gap:10px!important;
  }
  section[data-homepage-product-section] > .csh-section-head > div:first-child{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  section[data-homepage-product-section] > .csh-section-head h2{
    font-size:clamp(17px,4.3vw,22px)!important;
    line-height:1.2!important;
    overflow-wrap:anywhere;
    margin:0!important;
  }
  section[data-homepage-product-section] > .csh-section-head > .csh-section-action{
    flex:0 0 auto!important;
    width:auto!important;
    margin:0!important;
    white-space:nowrap!important;
  }
  section[data-homepage-product-section] > .csh-section-head > .csh-section-action a{
    white-space:nowrap!important;
    font-size:12px!important;
    padding:8px 10px!important;
  }
}
