/* 0.8.76 — categorias: imagem sem folga + somente cards completos */

body.home-body .category-section.category-carousel{
  position:relative;
  min-width:0;
  padding:0 42px;
  overflow:visible;
}

body.home-body .category-carousel__viewport{
  overflow:hidden!important;
  min-width:0;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}

body.home-body .category-grid.category-carousel__track{
  display:flex!important;
  grid-template-columns:none!important;
  grid-auto-flow:initial!important;
  gap:10px!important;
  width:max-content;
  transform:translate3d(0,0,0);
  transition:transform .55s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}

body.home-body .category-card{
  flex:0 0 132px!important;
  width:132px!important;
  min-width:132px!important;
  padding:0!important;
  margin:0!important;
  text-decoration:none!important;
  overflow:hidden!important;
  border-radius:8px;
  box-sizing:border-box!important;
}

body.home-body .category-card__image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:transparent!important;
  line-height:0!important;
}

body.home-body .category-card__image img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  object-fit:initial!important;
  object-position:initial!important;
  background:transparent!important;
  transform:none!important;
  transition:none!important;
  vertical-align:top!important;
}

body.home-body .category-card__name{
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:34px;
  margin:0!important;
  padding:7px 5px!important;
  text-align:center!important;
  font-size:12px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:.01em;
  box-sizing:border-box!important;
}

body.home-body .category-card em{
  display:none!important;
}

body.home-body .category-carousel__control{
  position:absolute;
  top:50%;
  z-index:5;
  width:32px;
  height:32px;
  margin-top:-16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e4d7d0;
  border-radius:50%;
  background:#fff;
  color:#7a1738;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(91,34,55,.09);
}

body.home-body .category-carousel__control--prev{
  left:4px;
}

body.home-body .category-carousel__control--next{
  right:4px;
}

body.home-body .category-carousel__control:hover,
body.home-body .category-carousel__control:focus-visible{
  background:#7a1738;
  color:#fff;
  outline:none;
}

body.home-body .category-carousel__control[hidden]{
  display:none!important;
}

@media (max-width:1160px){
  body.home-body .category-section.category-carousel{
    padding-left:38px;
    padding-right:38px;
  }

  body.home-body .category-card{
    flex-basis:126px!important;
    width:126px!important;
    min-width:126px!important;
  }
}

@media (max-width:760px){
  /* MOBILE SOMENTE: cards maiores e sem altura vazia.
     Desktop permanece exatamente como no 0.8.76/0.8.77. */
  body.home-body .category-section.category-carousel{
    padding-left:34px;
    padding-right:34px;
  }

  body.home-body .category-carousel__viewport{
    overflow:hidden!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body.home-body .category-grid.category-carousel__track{
    display:flex!important;
    grid-template-columns:none!important;
    grid-auto-flow:initial!important;
    grid-auto-columns:initial!important;
    align-items:flex-start!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    padding-bottom:0!important;
    gap:10px!important;
    width:max-content!important;
  }

  body.home-body .category-grid.category-carousel__track::-webkit-scrollbar{
    display:none!important;
  }

  body.home-body .category-card{
    flex:0 0 150px!important;
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:flex-start!important;
    display:block!important;
    padding:0!important;
    margin:0!important;
  }

  body.home-body .category-card__image{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    line-height:0!important;
    overflow:hidden!important;
  }

  body.home-body .category-card__image img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
  }

  body.home-body .category-card__name{
    min-height:38px!important;
    height:auto!important;
    padding:8px 5px!important;
    font-size:12px!important;
    line-height:1.15!important;
  }

  body.home-body .category-carousel__control{
    width:30px;
    height:30px;
    margin-top:-15px;
    font-size:17px;
  }

  body.home-body .category-carousel__control--prev{left:1px}
  body.home-body .category-carousel__control--next{right:1px}
}

@media (max-width:560px){
  body.home-body .category-section.category-carousel{
    padding-left:32px;
    padding-right:32px;
  }

  body.home-body .category-card{
    flex-basis:146px!important;
    width:146px!important;
    min-width:146px!important;
    max-width:146px!important;
  }

  body.home-body .category-grid.category-carousel__track{
    gap:9px!important;
  }
}

@media (max-width:380px){
  body.home-body .category-card{
    flex-basis:136px!important;
    width:136px!important;
    min-width:136px!important;
    max-width:136px!important;
  }

  body.home-body .category-grid.category-carousel__track{
    gap:8px!important;
  }
}

@media (prefers-reduced-motion:reduce){
  body.home-body .category-grid.category-carousel__track{
    transition:none;
  }
}
