#bannerPrincipal .carousel-inner {
  background-color: #2e2e2e;
}

#bannerPrincipal .carousel-inner .img {
  height: 450px;
  width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

#bannerPrincipal .carousel-inner .carousel-caption {
  margin-left: -2rem;
  top: 33%;
}

#bannerPrincipal .carousel-inner .carousel-caption .text1 {
  font-size: 5rem;
  font-weight: bold;
  text-align: left;
  line-height: 2rem;
}

#bannerPrincipal .carousel-inner .carousel-caption .text2 {
  font-size: 4rem;
  font-weight: bold;
  text-align: left;
  color: #ff9800;
}

#bannerPrincipal .carousel-indicators {
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: flex-end;
  margin-right: 8% !important;
}

#bannerPrincipal .carousel-indicators li {
  border-radius: 50%;
  width: 10px !important;
  height: 10px !important;
  list-style: none;
}

#bannerPrincipal .carousel-control-next,
#bannerPrincipal .carousel-control-prev {
  width: 10% !important;
}

/* --- NUEVO ESTILO DE CATEGORÍAS --- */
.categories-container {
  /* margin-top: -80px; */
  position: relative;
  z-index: 10;
}

.category-banner {
  height: 350px;
  border: 4px solid #fff;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  text-decoration: none !important;
}

.category-banner:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.category-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 20px;
}

.category-subtitle {
  color: #fff;
  font-size: 40px;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 5px;
}

.category-title {
  color: #fff;
  font-size: 56px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991.98px) {
  .categories-container {
    margin-top: -40px;
  }

  .category-title {
    font-size: 2rem;
  }
}

/*----fin de cambios del index----*/
.productFeatured1 .productName div:first-child {
  margin-top: 0.4rem;
  text-align: left;
  color: #333333;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem !important;
  line-height: normal;
}

.productFeatured1 .productName {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  color: #333333;
  font-weight: bold;
  margin-bottom: 4px;
  line-height: normal;
  padding: 0px;
}

.grid-models {
  display: grid;
  grid-template-columns: repeat(var(--grid-model-columns, 5), minmax(0, 1fr));
  gap: 15px 50px;
  align-items: stretch;
}

.grid-models .productFeatured1 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: 100%;
}

@media (max-width: 1199.98px) {
  .grid-models {
    grid-template-columns: repeat(
      min(4, var(--grid-model-columns, 4)),
      minmax(0, 1fr)
    );
  }
}

@media (max-width: 991.98px) {
  .grid-models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .grid-models {
    grid-template-columns: 1fr;
  }
}

#carouselBrands .img {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#carouselBrands a {
  color: #000000;
  text-decoration: none;
}

#carouselBrands .brand {
  font-size: 0.8rem;
  font-weight: bold;
}

#generalInformation {
  background-color: var(--bs-gray-200);
}

#generalInformation .item {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  color: #333333;
}

#generalInformation .icon {
  float: right;
  font-size: 3rem;
  color: #999999;
}

#generalInformation .text1 {
  font-size: 1rem;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

#generalInformation .text2 {
  font-size: 0.8rem;
  font-family: "Poppins", sans-serif;
  color: #666666;
}

#generalInformation .text2 a {
  font-size: 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
}

#categoriesHome {
  position: relative;
  z-index: 2;
  margin-top: -190px;
  margin-bottom: 4rem;
}

#categoriesHome .cat:active {
  text-decoration: none;
  color: #666666;
}

#categoriesHome .cat:visited {
  text-decoration: none;
  color: #666666;
}

#categoriesHome .cat {
  text-decoration: none;
  color: #666666;
  margin-bottom: 24px;
  padding-right: 12px;
  padding-left: 12px;
  width: 350px;
}

#categoriesHome .cat div {
  width: 100%;
}

#categoriesHome .cat-card {
  display: flex;
  min-height: 265px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  padding: 18px 22px 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#categoriesHome .cat:hover .cat-card {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

#categoriesHome .cat-brand {
  align-self: flex-start;
  color: #666666;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
}

#categoriesHome .icon {
  text-align: center;
}

#categoriesHome .icon img {
  width: auto;
  max-width: 100%;
  height: 200px;
  margin: 6px 0 12px;
  object-fit: contain;
}

#categoriesHome h2 {
  margin: auto 0 16px;
  text-align: center;
}

#categoriesHome .text1 {
  font-family: "Poppins", sans-serif;
  color: #a1a1a1;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1;
}

#categoriesHome .text2 {
  color: #666666;
  font-family: "Poppins", sans-serif;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  #categoriesHome {
    margin-top: -125px;
    margin-bottom: 2.5rem;
  }

  #categoriesHome .cat-card {
    min-height: 245px;
  }

  #categoriesHome .icon img {
    height: 110px;
  }

  #categoriesHome .text1 {
    font-size: 0.8rem !important;
  }

  #categoriesHome .text2 {
    font-size: 0.9rem !important;
    font-weight: bold;
    line-height: 1.1;
  }
}
