:root {
  --rojo: #dd2a25;
  --gris: #d5d6db;
  --font-gris: #343434;
}

html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
/*Globales*/
img {
  width: 100%;
  margin: 0 auto;
}
a {
  text-decoration: none;
  display: block;
}
p {
  margin: 0;
}
h1,
h2,
h3 {
  margin: 0;
}
/*Utilidades*/
.banner-desk {
  display: none !important;
}
.cintillo-sn {
  width: 96%;
  margin: 1% auto;
}
.contenedor-txt-sn {
  width: 90%;
  margin: 2% auto;
}
.contenedor-txt-sn p {
  color: var(--font-gris);
  padding: 1.8%;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75em;
}
@media (min-width: 330px) {
  .contenedor-txt-sn p {
    font-size: 0.85em;
  }
}
@media (min-width: 448px) {
  .contenedor-txt-sn p {
    font-size: 1.05em;
  }
}
@media (min-width: 600px) {
  .contenedor-txt-sn p {
    font-size: 1em;
  }
}
@media (min-width: 780px) {
  .banner-desk {
    display: block !important;
  }
  .banner-mob {
    display: none !important;
  }
  .contenedor-txt-sn {
    width: 80%;
    margin: 1.5% auto;
  }
  .contenedor-txt-sn p {
    padding: 1.5%;
    font-size: 1.15em;
  }
}
@media (min-width: 900px) {
  .contenedor-txt-sn p {
    font-size: 1.3em;
  }
}
@media (min-width: 1200px) {
  .contenedor-txt-sn p {
    font-size: 1.35em;
  }
}
@media (min-width: 1400px) {
  .contenedor-txt-sn p {
    font-size: 1.5em;
  }
}
/*Banner Principal*/
.banner-principal-sn {
  width: 98%;
  margin: 0 auto;
}
/**Categorías**/
/* .categorias-sn {
  width: 98%;
  margin: 0.5rem auto;
  overflow: hidden;
} */
.categorias-swiper-sn {
  width: 100%;
}
.categorias-swiper-sn .swiper-slide {
  box-sizing: border-box;
}
.categorias-swiper-sn .swiper-slide a {
  display: block;
}
.categorias-swiper-sn .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.categorias-swiper-sn .swiper-button-prev,
.categorias-swiper-sn .swiper-button-next {
  color: #ffff;
  background: transparent;
}
.categorias-swiper-sn .swiper-button-prev::after,
.categorias-swiper-sn .swiper-button-next::after {
  font-size: 0.5rem;
}
/**Categorías Grid**/
.categorias-sn {
  width: 98%;
  margin: 0.5rem auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.categoria-sn a {
  display: block;
}
@media (min-width: 780px) {
  .categorias-sn {
    margin: 1.5rem auto;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .categorias-sn--6 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .categorias-sn--6 .categoria-sn:nth-child(5) {
    grid-column: 2;
  }
  .categorias-sn--6 .categoria-sn:nth-child(6) {
    grid-column: 3;
  }
  .categoria-sn {
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }
  .categoria-sn:hover {
    transform: scale(0.97);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
}
/**Marcas**/
.marcas-destacadas-sn {
  width: 85%;
  margin: 1rem auto;
  position: relative;
}

/* CONTENEDOR COMPLETO DEL CARRUSEL */
.marcas-carousel-sn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

/* SWIPER */
.marcas-swiper-sn {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* SLIDE */
.marcas-swiper-sn .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ENLACE DEL LOGO */
.marcas-swiper-sn .swiper-slide a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* LOGO */
.marcas-swiper-sn .swiper-slide img {
  display: block;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}
/* BOTONES */
.marca-btn-sn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 1.3rem;
  color: #343434;
  cursor: pointer;
  border: none;
  background-color: transparent;
}
.marca-btn-prev {
  left: -10%;
}
.marca-btn-next {
  right: -10%;
}
@media (min-width: 900px) {
  .marcas-destacadas-sn {
    width: 93%;
  }
  .marca-btn-sn {
    font-size: 1.8rem;
  }
  .marca-btn-prev {
    left: -3%;
  }
  .marca-btn-next {
    right: -3%;
  }
}
