/* Bi'Tişört v6.3.69 — dynamic hero gap + category hero corner polish */

/*
 * Dynamic section ordering can move the original helper spacer away from Hero.
 * The ordering script marks the first visible section after Hero with this class.
 */
body.bt-hybrid-pro-v620 .store-section-stack.hp-home-main > .bt-after-hero-gap-v6369{
  margin-top:max(var(--bt-space-hero-services,36px),32px)!important;
}

/*
 * Category showcase must visually join its dark hero to the white card body:
 * rounded top edge, straight lower edge — same language as the product showcase.
 */
body.bt-hybrid-pro-v620 .bt-category-showcase{
  overflow:hidden!important;
}
body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero{
  overflow:hidden!important;
  border-radius:22px 22px 0 0!important;
}
body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero-visual{
  overflow:hidden!important;
  border-radius:0 22px 0 0!important;
}
body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero-visual img{
  display:block!important;
  border-radius:0 22px 0 0!important;
}

@media(max-width:820px){
  body.bt-hybrid-pro-v620 .store-section-stack.hp-home-main > .bt-after-hero-gap-v6369{
    margin-top:max(var(--bt-space-hero-services,28px),24px)!important;
  }
  body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero{
    border-radius:18px 18px 0 0!important;
  }
  body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero-visual,
  body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero-visual img{
    border-radius:0 18px 0 0!important;
  }
}

@media(max-width:480px){
  body.bt-hybrid-pro-v620 .store-section-stack.hp-home-main > .bt-after-hero-gap-v6369{
    margin-top:max(var(--bt-space-hero-services,22px),20px)!important;
  }
  body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero{
    border-radius:16px 16px 0 0!important;
  }
  body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero-visual,
  body.bt-hybrid-pro-v620 .bt-category-showcase .bt-category-hero-visual img{
    border-radius:0 16px 0 0!important;
  }
}
