#index #main-content {
  padding: 0;
}

#index #wrapper .container {
  width: 100% !important;
}

#index #content .section {
  margin: 2rem 0;
  padding: 2rem 1rem;
  background: #f9f9f9;
}

#index #content .section:nth-child(2n) {
  background: none;
}

#index #content .section:last-child {
  margin-bottom: 0;
}

#index #slider.section {
  margin-top: 0;
}

#index #slider .h1 {
  margin-top: 2rem;
}

#index #slider .h3 {
  font-weight: 500;
  margin: 0;
  color: var(--primary);
  text-transform: none;
}

#index #slider .mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#index #slider .mosaic a {
  width: 100%;
  height: 100%;
  display: block;
}

#index #slider .mosaic .slide picture {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

#index #slider .mosaic .slide img {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

#index #slider .mosaic .row,
#index #slider .mosaic .slide {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
}

#index #slider .mosaic .row::after {
  display: none;
}

#index #slider .mosaic .row {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  aspect-ratio: initial;
}

#index #slider .mosaic .caption {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#index #slider .mosaic .caption .description {
  max-width: 75%;
  text-align: center;
  margin: auto;
  background: var(--tertiary);
  color: var(--font-primary);
  padding: 1.5rem;
  font-size: 1.25rem;
}

#index #slider .mosaic .caption .h3,
#index #slider .mosaic .caption strong {
  font-size: 1rem;
  line-height: normal;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

#index #slider .mosaic .caption p {
  margin: 0;
  text-align: center;
}

#index #slider .mosaic .caption p button {
  display: none;
}

#index .negocios_home {
  padding: 2rem 1.5rem;
  margin: 2rem 0;
}

#index .negocios_home .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

#index .negocio {
  max-width: calc(50% - 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem 0;
  padding: 0;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

#index .negocio:hover {
  text-decoration: underline;
}

#index .negocio .subcategory-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  border-top: 0.5rem solid var(--secondary);
  border-right: 0.5rem solid var(--secondary);
  transition: all 0.3s ease-in-out;
}

#index .negocio:hover .subcategory-image {
  border-color: var(--primary);
}

#index .negocio .subcategory-image img {
  margin-top: 0.5rem;
  margin-bottom: -0.5rem;
  margin-left: -0.5rem;
}

#index .products {
  display: flex !important;
}

#index #banner {
  padding: 0 !important;
}

#index #banner span {
  display: block;
  position: relative;
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

#index #banner img {
  height: 100%;
  object-fit: contain;
}

#index #banner .description {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: var(--font-primary);
  color: var(--bg);
  text-transform: uppercase;
}

#index #custom-text {
  text-align: left;
  padding: 2rem 1.5rem;
  margin: 0;
  background: none;
  color: var(--font-primary);
  font-size: 0.952rem;
}

#index #custom-text h2,
#index #custom-text h3,
#index #custom-text p,
#index #custom-text a {
  color: var(--font-primary);
}

#index #custom-text p,
#index #custom-text a {
  font-size: 0.925rem;
}

#index #custom-text a {
  text-decoration: underline;
}

#index #custom-text .bt-show-text {
  cursor: pointer;
  color: var(--primary);
  font-weight: 500;
}

#index #home-blocks {
  text-align: center;
}

#index #home-blocks .h4 {
  color: var(--font-primary);
}

#index #home-blocks .content a {
  color: var(--primary);
  font-size: 0.925rem;
  transition: all 0.3s ease-in-out;
}

#index #home-blocks .content a:hover {
  text-decoration: underline;
  color: var(--font-primary);
}

#index #main-content footer {
  margin: 0;
}

@-ms-viewport {
  width: device-width;
}

@viewport {
  width: device-width;
}

@media screen and (min-width: 321px) and (orientation: landscape) {
  #index .negocio {
    max-width: calc(50% - 1rem);
  }
}

@media screen and (min-width: 576px) {
  #index .negocio {
    max-width: calc(50% - 1rem);
  }
}

@media screen and (min-width: 768px) {
  #index #carousel figure {
    width: 100%;
    aspect-ratio: initial;
  }

  #index .negocio {
    max-width: calc(33.33% - 1.34rem);
  }
}

@media screen and (min-width: 992px) {

  #index #slider .mosaic .row,
  #index #slider .mosaic .slide {
    width: calc(33.33% - 0.7rem);
    aspect-ratio: 3/4;
  }

  #index #slider .mosaic .row .slide {
    width: 100%;
    height: 50%;
  }

  #index #slider .mosaic .caption .description {
    max-width: 50%;
  }
}

@media screen and (min-width: 1200px) {
  #index #content .section {
    padding: 2rem 0rem;
  }

  #index #content .section:nth-child(2n) {
    padding: 3rem 0;
  }

  #index #slider .mosaic,
  #index #wrapper .container .featured-products .products,
  #index #wrapper .container .negocios_home .row,
  #index #wrapper .container #banner a,
  #index #wrapper .container #custom-text,
  #index #wrapper .container #home-blocks .row {
    width: 1200px;
    margin: auto;
  }

  #index #custom-text,
  #index .negocios_home {
    padding: 2rem 0;
  }

  #index #slider .mosaic .caption .h3,
  #index #slider .mosaic .caption strong {
    font-size: 1.2rem;
  }

  #index .negocio {
    max-width: calc(25% - 1.5rem);
  }
}

@media screen and (min-width: 1400px) {

  #index #slider .mosaic,
  #index #wrapper .container .featured-products .products,
  #index #wrapper .container .negocios_home .row,
  #index #wrapper .container #banner a,
  #index #wrapper .container #custom-text,
  #index #wrapper .container #home-blocks .row {
    width: 1400px;
  }
}