.section-banner-home {
  display: flex;
  align-items: center;
}

.banner-home {
  width: 100%;
}

.body-destaques-home {
  display: flex;
  justify-content: space-between;
  /* border: solid 1px red; */
  gap: 1rem;
  margin: 2rem 0 0;
}

.aside-image-destaque {
  /* flex: 0 1 calc(40% - 1rem); */
  width: 20%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  /* border: solid red; */
}

.aside-slider-destaque {
  flex: 0 1 calc(80% - 1rem);
  max-width: 100%;
  width: 60%;
  /* border: solid 1px; */
}

.image-destaque {
  width: 100%;
  aspect-ratio: 1/1;
  box-shadow: 2px 2px 8px 0px #000000;
}

.image-slider {
  /* aspect-ratio: 16/9; */
  /* max-width: 100%; */
  width: 100%;
}

.container-destaques-home {
  display: flex;
  flex-direction: column;
}

.section-destaques-home {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5rem 0;
}

.imagem-destaques-thumb {
  aspect-ratio: 16/9;
}

img.image-thumb {
  max-width: 100%;
  aspect-ratio: 16/9;
  height: 100%;
}

/* video */
section.section-video-home {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.body-video-home {
  display: flex;
  justify-content: space-between;
}

.content-video {
}

.video-home {
  flex: 0 1 calc(55% - 1rem);
}

.video-home video {
  min-width: 35rem;
}

.titulo-video-home {
  margin: 0 0 3rem;
}

/* categorias */

.section-categorias-home {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.titulo-categorias-home {
  margin: 0 0 3rem;
}

.content-categoria {
  aspect-ratio: 16/9;
  width: 100%;
}

.categoria-base-size {
  flex: 0 1 calc(100% / 4);
}

.cards-categorias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

[class^="div-card-categoria"] {
  display: flex;

  cursor: pointer;
  overflow: hidden;
  position: relative;
}

[class^="div-card-categoria"]:hover .body-card-categoria,
[class^="div-card-categoria"]:focus .body-card-categoria {
  -ms-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  box-shadow: 0px 4px 16px 0px #aaaaaa;
}

[class^="div-card-categoria"]:hover .body-card-categoria::before,
[class^="div-card-categoria"]:focus .body-card-categoria::before {
  display: block;
  animation: heightAnimate 1s 1 ease-out;
  -webkit-animation: heightAnimate 1s 1 ease-out;
}

[class^="div-card-categoria"]:hover .body-card-categoria::after,
[class^="div-card-categoria"]:focus .body-card-categoria::after {
  height: 0;
  background: none;
}

[class^="div-card-categoria"]:hover a,
[class^="div-card-categoria"]:focus a {
  display: block;
}

@keyframes heightAnimate {
  0% {
    height: 0;
    top: 50%;
  }
  100% {
    height: 100%;
    top: 0;
  }
}

.body-card-categoria:before {
  content: "";
  display: none;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
}

.body-card-categoria::after {
  content: attr(data-categoria);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 4rem;
  width: 100%;
  color: white;
  font-size: 2rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.75);
}

.body-card-categoria {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-categoria {
  font-size: 3rem;
  color: #ffffff !important;
  font-family: sans-serif;
  text-align: center;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
}

/* novidades */

.section-novidades {
  display: flex;
  justify-content: center;
  margin: 3rem 0 0;
}

.container-novidades {
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

.content-cards-home {
  height: 45rem;
  display: flex;
  align-items: center;
}

.titulo-novidades {
}

.card-novidades {
  cursor: pointer;
  box-shadow: 1px 1px 5px 0px #444;
  box-sizing: border-box;
  min-width: 200px;
  height: max-content;
  list-style: none;
  text-align: left;
  background: var(--cor-card-bg);
  color: var(--cor-card-texto);
  min-height: 40rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.body-novidades {
  padding: 1rem;

  display: grid;
  height: 100%;
}

.novidades-avaliacao {
  font-size: 1.5rem;
}

.novidades-marca {
  color: var(--cor-card-marca);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

.novidades-nome {
  font-size: 1.5rem;
  display: -webkit-box;
  overflow-y: hidden;
  line-height: 2rem;
  height: 4rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.preco-promo {
  text-decoration: line-through;
  color: var(--cor-preco-promo-produto);
  font-size: 1.2rem;
}

.preco {
  font-size: 1.5rem;
  color: var(--cor-preco-real-produto);
  font-weight: 600;
}

.novidades-preco {
  gap: 1rem;
  display: flex;
  align-items: flex-end;
  line-height: 2.5rem;
}

/* alterando cor dots */
.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
  background: var(--cor-card-marca);
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background-color: var(--cor-card-bg);
}

@media screen and (max-width: 991px) {
  .section-banner-home {
    aspect-ratio: 16/9;
    width: 100%;
  }

  .body-video-home {
    flex-direction: column;
  }

  .video-home {
    flex: 1;
    margin: 0 0 3rem;
  }

  .content-video {
    flex: 1;
  }

  .cards-categorias {
    grid-template-columns: repeat(2, 1fr);
  }
  .body-card-categoria::after {
    font-size: 1.5rem;
    height: 2rem;
  }
}

@media screen and (max-width: 1300px) {
  .body-video-home {
    flex-direction: column;
  }
  .video-home {
    flex: 1;
    margin: 0 0 3rem;
    text-align: center;
  }
}
