div#produtos-mag .moduletable>h3 {
  justify-self: center;
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  color: #00327f;
}

.prud {
  padding: 0;
}

.prod-img img {
  width: 100%;
}

.total-pro {
  padding: 1% 4%;
  display: flex;
  align-items: center;
  margin: 0 2%;
}

.prod-img {
  /* background: red; */
  border-radius: 50%;
  position: relative;
}

.prod-img::after {
  content: '';
  width: 100%;
  height: 100%;
  border: 1px solid white;
  position: absolute;
  border-radius: 50%;
  left: -11px;
  bottom: -6px;
}

a.btn-protudos {
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  border: 1px solid white;
  border-radius: 14px;
  padding: 5px 18px;
  margin-top: 14px;
  display: block;
  margin-top: 28px;
}

.itens-prod {
  display: grid;
  justify-items: center;
  background: white;
  gap: 0px;
  border-radius: 29px;
  margin: 1%;
}

.prod-titulo h4 {
  color: #113f87;
  font-size: 1.6rem;
  margin: 0 0 18px 0;
}

.total-pro {
  background: linear-gradient(90deg, rgba(0, 50, 127, 1) 22%, rgba(255, 255, 255, 1) 57%, rgba(0, 50, 127, 1) 95%);
  border-radius: 27px;
}

/* Removidas variáveis CSS antigas de animação para não conflitar com o JS */
.marquee-row {
  display: flex;
  overflow: hidden;
  position: relative;
  padding: 0.6rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  flex-shrink: 0;
}

.itens-prod {
  flex-shrink: 0;
  align-items: center;
  padding: 0.3rem 1.8rem;
  user-select: none;
}

.produtos-pai {
  display: flex;
  align-items: center;
  gap: 0px;
}

.itens-prod2 img,
.itens-prod img {
  width: 80%;
  height: auto;
}

.img-produtos-mag2,
.img-produtos-mag2 {
  text-align: center;
}

div#produtos-mag .moduletable>h3 {
  justify-self: center;
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
  color: #00327f;
}

.prod-img img {
  width: 100%;
}

.total-pro {
  padding: 1% 4%;
  display: flex;
  align-items: center;
  margin: 0 2%;
}

.prod-img {
  /* background: red; */
  border-radius: 50%;
  position: relative;
  width: 50%;
  place-self: center;
}

.prod-img::after {
  content: '';
  width: 100%;
  height: 100%;
  border: 1px solid white;
  position: absolute;
  border-radius: 50%;
  left: -11px;
  bottom: -6px;
}

a.btn-protudos {
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  border: 1px solid white;
  border-radius: 14px;
  padding: 8px 9px;
  margin-top: 14px;
  display: block;
  margin-top: 28px;
  text-align: center;
  width: fit-content;
  margin: 30px auto auto auto;
}

.itens-prod2 {
  display: grid;
  justify-items: center;
  background: white;
  gap: 0px;
  border-radius: 29px;
  margin: 1%;
}

.prod-titulo2 h4 {
  color: #113f87;
  font-size: 1.6rem;
  margin: 0 0 18px 0;
}

.total-pro {
  background: linear-gradient(90deg, rgba(0, 50, 127, 1) 22%, rgba(255, 255, 255, 1) 57%, rgba(0, 50, 127, 1) 95%);
  border-radius: 27px;
}


.marquee-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  animation: up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.marquee-row {
  display: flex;
  overflow: hidden;
  position: relative;
  padding: 0.6rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.track2 {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  flex-shrink: 0;
  /* Removida a animação CSS antiga para não travar com o JavaScript */
}

.itens-prod2 {
  flex-shrink: 0;
  align-items: center;
  padding: 0.3rem 1.8rem;
  user-select: none;
}

.arrow-btn {
  background: transparent;
  width: 133px;
  height: auto;
}

.arrow-btn img {
  width: 100%;
  height: auto;
}

@media screen and (max-width:800px) {
  .total-pro {
    display: grid;
    padding: 19px;
    margin: 4% !important;
    background: linear-gradient(90deg, rgba(0, 50, 127, 1) 59%, rgba(255, 255, 255, 1) 52%, rgba(0, 50, 127, 1) 43%);
  }

  .arrow-btn {
    width: 45%;
    place-self: center;
  }

  .prud {
    margin-bottom: 15%;
  }

}