.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 40rem;
  /* Equivale a max-w-2xl en Tailwind */
}

.text-center {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-heading {
  font-size: 1.6rem;
  /* Equivale a text-4xl */
  font-weight: 700;
  /* Equivale a font-bold */
  letter-spacing: -0.025em;
  /* Equivale a tracking-tight */
  color: #1f2937;
  /* Equivale a text-gray-900 */
  margin-top: -4rem;
}

/* @media (min-width: 640px) {
  .main-heading {
    font-size: 3.75rem;
  }
} */

.description {
  margin-top: 1.5rem;
  font-size: 1.40rem;
  line-height: 2rem;
  /* color: #1f2937; */
  /* color: #374151; */
  /* color: #B4B4B8; */
  /* font-weight: bold; */
}

.link-container {
  margin-top: 2.5rem;
  /* Equivale a mt-10 */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  /* Equivale a gap-x-6 */
}

.read-more {
  font-size: 1.125rem;
  /* Equivale a text-lg */
  font-weight: 600;
  /* Equivale a font-semibold */
  line-height: 1.5rem;
  /* Equivale a leading-6 */
  color: #1f2937;
  /* Equivale a text-gray-900 */
}

/* ------------------ CAROUSEL INDEX----------------- */

.carousel-grid {
  display: flex;
  /* grid-template-columns: repeat(12, 1fr); */
  gap: 1rem;
  margin-top: 15px;
}

@media (min-width: 768px) {
  .carousel-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.carousel-card {
  width: 100%;
  max-width: 24rem;
  /* background-color: white; */
  border-radius: 0.3rem;
  transition: transform 0.3s ease-in-out;
}

.carousel-card:hover {
  transform: translateY(-0.5rem);
}


.carousel-image {
  padding: 0.25rem;
  border-radius: 0.5rem 0.5rem 0 0;
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.carousel-info {
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.carousel-title {
  font-size: 1rem;
  font-weight: 600;
  color: black;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  /* Ajuste del tracking */
}

.progress-container {
  width: 100%;
  height: 5px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #1d4ed8;
  transition: width 0.1s linear;
}


/*  ---------------- CARTAS --------------- */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.3rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-top: 10px;
  height: 350px;
  padding: 10px;

}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  /* border-radius: 0.75rem; */
}

.product-image {
  width: 320px;
  height: 250px;
  mask-image: linear-gradient(black 60%, transparent);
  object-fit: cover;
}

.product-image-dos {
  width: 350px;
  height: 300px;
  mask-image: linear-gradient(black 60%, transparent);
  object-fit: contain;
}

.product-details {
  display: flex;
  /* flex-direction: row; */
  align-items: center;
  justify-content: center;
  /* width: 100%; */
  z-index: 10;
  height: 280px;
  background-color: white;
  border-radius: 0.5rem;
}

.product-info {
  margin: 0.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  width: 85%;
  height: 250px;
}

.product-title {
  font-size: 1.5rem;
  font-weight: bold;
  /* color: #ffffff; */
  margin-bottom: 0.5rem;
  text-align: left;

}

.product-description {
  margin-top: 1em;
  font-size: 18px;
  text-align: left;
  /* color: #ffffff; */
}

.product-subtitle {
  font-size: 0.875rem;
  /* color: #ffffff; */
  margin-top: 0.5rem;
  text-align: left;
}

.product-specs {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: left;
  /* margin-top: 1em; */

}

.product-table {
  width: 100%;
  /* table-layout: fixed; */
  /* margin-top: 10px; */
  /* background-color: transparent !important; */
  height: 120px;
  /* font-size: 15px; */
  justify-content: center;
  align-items: center;
  display: flex;
  /* margin-left: -1em; */
  /* align-items: start;
  justify-content: start; */
  /* display: flex; */

  /* white-space: nowrap; */
  /* No permite que el texto se envuelva */
  /* overflow: hidden; */
  /* Oculta el texto que se desborda */
  /* text-overflow: ellipsis; */

  /* Esto permite controlar la distribución de las celdas */
}

.product-cell h6 {
  color: black;
  white-space: "normal" !important;
  /* Hace que el texto largo salte de línea */

  /* list-style-type: disc; */
  /* Muestra un punto antes de cada ítem de la lista */
  /* margin-left: 20px; */
  /* width: 150px; */
  /* text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap; */
  /* Agrega un margen izquierdo para los puntos de la lista */
}

.product-table th {
  font-weight: 500;
  color: white;
}

.product-button {
  color: #1d4ed8;
  border: 1px solid #1d4ed8;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  margin: 0.5rem 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.product-button:hover {
  background-color: #1d4ed8;
  color: #ffffff;
}

@media (min-width: 768px) {
  .product-card {
    flex-direction: row;
  }

  .product-image {
    border-radius: 0;
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
  }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .product-card {
    background-color: #1f2937;
    border-color: #374151;
  }

  .product-info {
    /* background-color: rgba(31, 41, 55, 0.8); */
  }

  .product-table {
    background-color: rgba(31, 41, 55, 0.5);
  }

  .product-button {
    border-color: #3b82f6;
    color: #3b82f6;
  }

  .product-button:hover {
    background-color: #3b82f6;
    color: #ffffff;
  }
}

.descripcion-productos {
  font-size: 20px;
  margin: 0px;
  padding: 0px;
  margin-bottom: 10px;
  align-items: start;
  justify-content: start;
  display: flex;
}


.carousel-item {
  position: relative;
  overflow: hidden;
}

/* .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%,
   rgba(255,255,255,0.8) 20%, rgba(255,255,255,0.8) 80%, 
   rgba(255,255,255,0) 100%);
  pointer-events: none;
} */

.content-box {
  position: relative;
  z-index: 2; /* Para que el contenido esté por encima del efecto difuminado */
}
