:root {
  --texto: #343434;
  --color-borde: #626262;
}
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

/*Globales*/
img {
  width: 100%;
  margin: 0 auto;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}

/*Utilidades*/
main.contenedor-sn {
  max-width: 1600px;
  margin: 0 auto;
}
.banner-desk {
  display: none !important;
}
.contenedor-texto-seccion-sn {
  width: 90%;
  margin: 2% auto;
}
.contenedor-texto-seccion-sn p {
  color: var(--texto);
  padding: 1.8%;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75em;
}
@media (min-width: 330px) {
  .contenedor-texto-seccion-sn p {
    font-size: 0.85em;
  }
}
@media (min-width: 448px) {
  .contenedor-texto-seccion-sn p {
    font-size: 1.05em;
  }
}
@media (min-width: 600px) {
  .contenedor-texto-seccion-sn p {
    font-size: 1em;
  }
}
@media (min-width: 780px) {
  .banner-desk {
    display: block !important;
  }
  .banner-mob {
    display: none !important;
  }
  .contenedor-texto-seccion-sn {
    width: 80%;
    margin: 1.5% auto;
  }
  .contenedor-texto-seccion-sn p {
    padding: 1.5%;
    font-size: 1.15em;
  }
}
@media (min-width: 900px) {
  .contenedor-texto-seccion-sn p {
    font-size: 1.3em;
  }
}
@media (min-width: 1200px) {
  .contenedor-texto-seccion-sn p {
    font-size: 1.35em;
  }
}
@media (min-width: 1400px) {
  .contenedor-texto-seccion-sn p {
    font-size: 1.5em;
  }
}
/*Banner Principal*/
.banner-principal-sn {
  width: 100%;
  margin: 0 auto;
}
/* =========================
   MOBILE FIRST
========================= */
.contenedor-categorias-sn {
  width: 98%;
  margin: 1.5rem auto;
  overflow: hidden;
}
.contenido-categorias-sn {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 1rem 10px;
}
/* QUICK */
.categoria-sn {
  flex: 0 0 20%;
}
.categoria-sn a {
  display: block;
  text-decoration: none;
}
.categoria-sn h2 {
  margin: 0.8rem 0 0;
  color: var(--texto);
  text-align: center;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
}
/* =========================
   DESKTOP
========================= */
@media (min-width: 660px) {
  .categoria-sn {
    flex: 0 0 25%;
  }
  .categoria-sn h2 {
    font-size: 0.8rem;
  }
}
@media (min-width: 780px) {
  .contenedor-categorias-sn {
    width: 98%;
  }
  .contenido-categorias-sn {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    padding: 0;
  }
  .categoria-sn {
    min-width: 0;
  }
  .categoria-sn h2 {
    font-size: 1rem;
  }
}
@media (min-width: 900px) {
  .contenido-categorias-sn {
    gap: 50px;
  }
  .categoria-sn h2 {
    font-size: 1.3rem;
  }
}
/**Boxes**/
.contenedor-box-sn {
  width: 98%;
  margin: 1rem auto;
}
.box-sn {
  margin: 1.5rem auto;
}
.box-sn-boxbanners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.boxbanner-sn {
  margin: 0.5rem 0;
  border: solid 1px var(--color-borde);
  padding: 0.5rem;
}
.boxbanner-sn h3 {
  text-align: center;
  text-transform: uppercase;
  color: var(--texto);
  font-weight: 600;
  font-size: 0.8rem;
}
@media (min-width: 780px) {
  .box-sn {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .box-sn-estilo-vida {
    flex: 0 0 calc(54% - 0.5rem);
  }
  .box-sn-boxbanners {
    flex: 0 0 calc(46% - 0.5rem);
    gap: 15px;
  }
  .boxbanner-sn {
    margin: 0;
    padding: 0.85rem;
  }
  .boxbanner-sn h3 {
    font-size: 0.85rem;
  }
}
@media (min-width: 900px) {
  .boxbanner-sn h3 {
    font-size: 1rem;
  }
}
@media (min-width: 1200px) {
  .boxbanner-sn h3 {
    font-size: 1.2rem;
  }
}
@media (min-width: 1400px) {
  .boxbanner-sn h3 {
    font-size: 1.35rem;
  }
}
