/* V0.2.32: cards da home com fotos/recortes profissionais e remoção segura dos ícones infantis. */
.drsb-hide-legacy-icon{
  display:none!important;
}

.drsb-home-highlight-card{
  position:relative!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  padding-right:178px!important;
  min-height:118px!important;
}
.drsb-home-highlight-card > .drsb-home-highlight-image{
  position:absolute!important;
  right:16px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:block!important;
  width:auto!important;
  max-width:146px!important;
  max-height:88px!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center right!important;
  margin:0!important;
  padding:0!important;
  border:none!important;
  background:transparent!important;
  pointer-events:none!important;
  box-shadow:none!important;
}
.drsb-home-highlight-selection > .drsb-home-highlight-image{
  max-width:158px!important;
  max-height:94px!important;
  right:10px!important;
}
.drsb-home-highlight-express{
  padding-right:236px!important;
}
.drsb-home-highlight-express > .drsb-home-highlight-image{
  max-width:190px!important;
  max-height:48px!important;
  right:18px!important;
  top:58%!important;
}
.drsb-home-highlight-reefClub{
  padding-right:132px!important;
}
.drsb-home-highlight-reefClub > .drsb-home-highlight-image{
  max-width:88px!important;
  max-height:88px!important;
  right:18px!important;
}

.drsb-real-category-card{
  position:relative!important;
  box-sizing:border-box!important;
  padding-top:152px!important;
  min-height:228px!important;
  overflow:hidden!important;
}
.drsb-real-category-card > .drsb-real-category-image{
  position:absolute!important;
  display:block!important;
  top:18px!important;
  left:20px!important;
  width:auto!important;
  max-width:calc(100% - 40px)!important;
  height:112px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0!important;
  padding:0!important;
  border:none!important;
  background:transparent!important;
  pointer-events:none!important;
  box-shadow:none!important;
}
.drsb-real-category-animais-vivos > .drsb-real-category-image,
.drsb-real-category-jardim-ar-livre > .drsb-real-category-image{
  height:104px!important;
}
.drsb-real-category-aves > .drsb-real-category-image,
.drsb-real-category-repteis > .drsb-real-category-image,
.drsb-real-category-roedores > .drsb-real-category-image{
  height:108px!important;
}

@media(max-width:1024px){
  .drsb-home-highlight-card{padding-right:150px!important;min-height:112px!important;}
  .drsb-home-highlight-card > .drsb-home-highlight-image{max-width:120px!important;max-height:74px!important;right:12px!important;}
  .drsb-home-highlight-selection > .drsb-home-highlight-image{max-width:132px!important;max-height:78px!important;}
  .drsb-home-highlight-express{padding-right:190px!important;}
  .drsb-home-highlight-express > .drsb-home-highlight-image{max-width:148px!important;max-height:40px!important;right:12px!important;top:60%!important;}
  .drsb-home-highlight-reefClub{padding-right:116px!important;}
  .drsb-home-highlight-reefClub > .drsb-home-highlight-image{max-width:72px!important;max-height:72px!important;}

  .drsb-real-category-card{min-height:218px!important;padding-top:144px!important;}
  .drsb-real-category-card > .drsb-real-category-image{height:102px!important;top:16px!important;left:16px!important;max-width:calc(100% - 32px)!important;}
}
@media(max-width:767px){
  .drsb-home-highlight-card{padding-right:102px!important;min-height:108px!important;}
  .drsb-home-highlight-card > .drsb-home-highlight-image{max-width:86px!important;max-height:62px!important;right:10px!important;}
  .drsb-home-highlight-selection > .drsb-home-highlight-image{max-width:96px!important;max-height:66px!important;}
  .drsb-home-highlight-express{padding-right:126px!important;}
  .drsb-home-highlight-express > .drsb-home-highlight-image{max-width:102px!important;max-height:30px!important;right:10px!important;top:62%!important;}
  .drsb-home-highlight-reefClub{padding-right:96px!important;}
  .drsb-home-highlight-reefClub > .drsb-home-highlight-image{max-width:54px!important;max-height:54px!important;}

  .drsb-real-category-card{min-height:204px!important;padding-top:120px!important;}
  .drsb-real-category-card > .drsb-real-category-image{height:90px!important;top:12px!important;left:14px!important;max-width:calc(100% - 28px)!important;}
}
@media(prefers-reduced-motion:reduce){
  .drsb-real-category-card,.drsb-real-category-card *,
  .drsb-home-highlight-card,.drsb-home-highlight-card *{transition:none!important;}
}

/* v0.2.33: refinamento fino. Não modifica cards de produtos/checkout. */
/* O logo Express precisa de uma linha própria, nunca sobreposta ao texto. */
.drsb-home-highlight-card{
  min-height:165px!important;
}
.drsb-home-highlight-express{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  padding:16px 18px!important;
  min-height:165px!important;
}
.drsb-home-highlight-express > .drsb-home-highlight-image{
  position:static!important;
  order:20!important;
  display:block!important;
  transform:none!important;
  width:min(218px,100%)!important;
  max-width:100%!important;
  height:auto!important;
  max-height:49px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:10px 0 0!important;
  flex-shrink:0!important;
}
.drsb-home-highlight-express > :not(.drsb-home-highlight-image){
  max-width:100%!important;
}
/* As demais imagens continuam na direita, com a faixa do texto protegida. */
.drsb-home-highlight-selection{
  padding-right:clamp(132px,12vw,180px)!important;
}
.drsb-home-highlight-reefClub{
  padding-right:clamp(100px,10vw,140px)!important;
}

/* Os 4 cards originais permanecem intactos, mas com imagens alinhadas. */
.drsb-real-category-card{
  padding-top:143px!important;
  min-height:235px!important;
}
.drsb-real-category-card > .drsb-real-category-image{
  height:112px!important;
  width:auto!important;
  top:17px!important;
  left:18px!important;
  max-width:calc(100% - 36px)!important;
  max-height:112px!important;
  object-fit:contain!important;
  object-position:left bottom!important;
  mix-blend-mode:normal!important;
}
.drsb-real-category-animais-vivos > .drsb-real-category-image{
  height:107px!important;
}

/* A nova linha só é ativada quando os quatro atalhos originais forem encontrados. */
.drsb-home-native-category-row,
.drsb-home-extra-categories{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(12px,2vw,24px)!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
  width:100%!important;
}
.drsb-home-native-category-row > *{
  min-width:0!important;
}
.drsb-home-extra-categories{
  margin:clamp(14px,2vw,22px) 0 0!important;
  padding:0!important;
}
.drsb-extra-category-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:235px!important;
  padding:16px 18px 18px!important;
  border:1px solid #deebf5!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#fff 0%,#f3faff 100%)!important;
  color:#123a58!important;
  box-shadow:0 10px 25px rgba(17,63,96,.06)!important;
  text-decoration:none!important;
  overflow:hidden!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.drsb-extra-category-card:hover,
.drsb-extra-category-card:focus-visible{
  border-color:#87c8e8!important;
  box-shadow:0 14px 28px rgba(17,63,96,.12)!important;
  transform:translateY(-2px)!important;
}
.drsb-extra-category-media{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
  width:100%!important;
  height:115px!important;
  margin:0 0 11px!important;
}
.drsb-extra-category-image{
  display:block!important;
  width:auto!important;
  height:108px!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:left bottom!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  margin:0!important;
  box-shadow:none!important;
}
.drsb-extra-category-title{
  display:block!important;
  font-size:16px!important;
  font-weight:750!important;
  line-height:1.35!important;
  color:#113b59!important;
  margin:0 0 8px!important;
}
.drsb-extra-category-description{
  display:block!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:400!important;
  color:#54718a!important;
  padding-right:12px!important;
}
.drsb-extra-category-arrow{
  position:absolute!important;
  right:14px!important;
  bottom:14px!important;
  color:#146baf!important;
  font-size:18px!important;
  font-weight:700!important;
}
@media(max-width:1024px){
  .drsb-home-native-category-row,
  .drsb-home-extra-categories{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .drsb-home-highlight-express{min-height:159px!important;}
  .drsb-real-category-card{min-height:222px!important;padding-top:135px!important;}
  .drsb-real-category-card > .drsb-real-category-image{height:104px!important;top:15px!important;}
  .drsb-extra-category-card{min-height:220px!important;}
}
@media(max-width:767px){
  .drsb-home-highlight-express{
    padding:15px!important;
    min-height:145px!important;
  }
  .drsb-home-highlight-express > .drsb-home-highlight-image{
    width:min(208px,100%)!important;
    max-height:45px!important;
    margin-top:8px!important;
  }
  .drsb-home-highlight-selection{padding-right:105px!important;}
  .drsb-home-highlight-reefClub{padding-right:96px!important;}
  .drsb-home-native-category-row,
  .drsb-home-extra-categories{gap:12px!important;}
  .drsb-real-category-card{min-height:195px!important;padding-top:116px!important;}
  .drsb-real-category-card > .drsb-real-category-image{
    top:10px!important;left:12px!important;
    height:91px!important;max-width:calc(100% - 24px)!important;
  }
  .drsb-extra-category-card{min-height:195px!important;padding:11px 12px 18px!important;border-radius:14px!important;}
  .drsb-extra-category-media{height:99px!important;margin-bottom:8px!important;}
  .drsb-extra-category-image{height:94px!important;max-width:100%!important;}
  .drsb-extra-category-title{font-size:15px!important;margin-bottom:5px!important;}
  .drsb-extra-category-description{font-size:12px!important;line-height:1.4!important;}
  .drsb-extra-category-arrow{right:10px!important;bottom:9px!important;font-size:16px!important;}
}
@media(max-width:420px){
  .drsb-home-native-category-row,
  .drsb-home-extra-categories{grid-template-columns:minmax(0,1fr)!important;}
  .drsb-real-category-card{min-height:193px!important;}
  .drsb-extra-category-card{min-height:193px!important;}
}
@media(prefers-reduced-motion:reduce){
 .drsb-extra-category-card{transition:none!important;transform:none!important;}
}
