* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #fff;
  --text: #000;
  --hover: #555;
}

body {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  padding-top: 90px;
  background-color: var(--bg);
}

html {
  scroll-behavior: smooth;
}

.faustina {
  font-family: "Faustina", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

button,
a,
i,
input {
  transition: all 0.3s ease;
  text-decoration: none;
}

.sidebar.active,
#searchHeader.active,
.carrinho-sidebar.active {
  display: block;
  z-index: 1000;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 900;
  /* abaixo do carrinho e sidebar */
  display: none;
}

.containerTitulo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.titulos {
  font-family: "Alumni Sans Pinstripe", sans-serif;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 5px;
  color: var(--text);
  padding: 15px;
}
/* NOVIDADES */
.novidades{
  background-color: var(--bg);
  color: var(--text);
}
/* CATEGORIAS */
.categorias {
  padding: 5px;
  max-width: none;
  margin: 0 auto; 
  padding: 15px 15px;
  background-color: var(--bg);
  text-decoration-line: none !important;
}

.categorias a {
  text-decoration: none;
}

.categorias ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  list-style: none;
  overflow-x: auto;
  padding: 0 10px;
  margin: 0;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categorias li {
  flex: 0 0 auto;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.categorias ul::-webkit-scrollbar {
  display: none;
}

/* Circular images */
.categorias .img-container {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}

.categorias img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categorias p {
  text-align: center;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 25px;
}

/* Promotions section */
.promotions {
  background-color: var(--text);
  color: var(--bg);
  overflow: hidden;
  padding: 20px;
}

.promo-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}

.promo-track {
  display: flex;
  width: max-content;
  transition: transform 1s ease-in-out;
  gap: 20px;
}

.promo-item {
  flex: 0 0 300px; 
  background-color: var(--text);
  color: var(--bg);
  border: 1px solid #444;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.promo-icon {
  font-size: 24px;
  margin: 0 auto 15px auto; 
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.promo-title {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 14px;
  text-transform: uppercase;
}

.promo-description {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

.dark-mode .promo-description {
  color: #aaa;
}

/*  SWIPER */
.swiper-slide {
  display: flex;
  justify-content: center;
}

/*  SOBRE NOS  */
.sobreNos {
  background-color: var(--text);
  color: var(--bg);
}

.containerSobreNos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.imagemSobreNos {
  flex: 1 1 40%;
  padding: 2vw;
  margin: 0; 
  height: 100%;
  display: flex;
}

.sobreNosImg {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
  margin: 0 auto;
}

.conteudoSobreNos {
  flex: 1 1 60%;
  padding: 20px;
  padding-top: 3vw;
}

.sobreNosTexto {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* FOOTER */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 40px 20px;
  background-color: var(--bg);
  font-family: Arial, sans-serif;
  color: var(--text);
}

.footer-section {
  flex: 1 1 100px;
  margin: 10px;
}

.footer-section h5 {
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a,
.footer-section p a {
  text-decoration: none;
  color: var(--hover);
}

.pagamento-icons img,
.social-icons img {
  width: 32px;
  height: auto;
  margin-right: 10px;
  vertical-align: middle;
}

.footer-section p {
  margin: 5px 0;
}

/* RESPONSIVIDADE */

@media (max-width: 768px) {

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .containerSobreNos {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .imagemSobreNos,
  .conteudoSobreNos {
    flex: 1 1 100%;
  }

  .imagemSobreNos {
  height: auto;
  padding: 2vw;
  }

  .sobreNosTitulo {
    text-align: center;
  }

  .sobreNosTexto {
    text-align: justify;
  }
}

@media (max-width: 640px) {
  .promo-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .promo-track {
    width: 100%;
  }

  .promo-item {
    flex: 0 0 100%; 
    max-width: 100%;
  }
}


@media (max-width: 767px) {
  .categorias li {
    width: 50%;
    margin-bottom: 20px;
  }
}

@media (max-width: 425) {
  .titulos {
    padding: 0;
  }
}