.section-title {
  background-color: #f5f5f5;
  padding: 1rem 0;
  text-align: center;
  margin-top: 95px;
}

.section-title2 {
  background-color: #f5f5f5;
  padding: 1rem 0;
  text-align: center;
}

.section-title-text h1 {
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
  font-size: 60px;
  color: #20699f;
  margin-bottom: 15px;
}

.categorias {
  background-color: #f5f5f5;
  padding: 2rem 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.card {
  background-color: white;
  border-radius: 360px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 280px;
  height: 280px; /* Altura fija para las cards */
  margin: 1rem;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: 'Dosis', sans-serif;
  font-size: 1.5rem;
  color: #20699f;
  margin-bottom: 0.5rem;
  text-decoration: none;
  flex: 1; /* Para distribuir el espacio entre los elementos */
}

.card p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.card:hover {
  transform: translateY(-10px);
}

.categorias a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Estilos para la sección de ofertas */
.ofertas {
  text-align: center;
  padding: 2rem 0;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.ofertas h2 {
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
  font-size: 40px;
  color: #20699f;
  margin-bottom: 1.5rem;
}

.ofertas-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.oferta {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.oferta img {
  width: 80%;
  height: auto;
}

.oferta .content {
  padding: 1rem;
}

.oferta .content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.btn-ver-mas {
  width: 80%;
  display: inline-block;
  padding: 1rem;
  background-color: #20699f;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-ver-mas:hover {
  background-color: #104e78;
}

/* Estilos para los sliders */
.slider-container {
  text-align: center;
  padding: 2rem 0;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.slider-container #slider1,
.slider-container #slider2 {
  position: relative;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  width: 500px;
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.1);
  text-align: center;
}

.slider-container ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.slider-container ul li {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ccc;
  color: #fff;
  font-size: 2rem;
}

.slider-container ul li img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.slider-container a.control_prev,
.slider-container a.control_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #20689fd5;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  border-radius: 4px;
}

.slider-container a.control_prev {
  left: 10px;
}

.slider-container a.control_next {
  right: 10px;
}

.slider-container a.control_prev:hover,
.slider-container a.control_next:hover {
  background: rgb(18, 96, 168);
}

@media (max-width: 768px) {
  .slider-container #slider1,
  .slider-container #slider2 {
    width: 400px;
  }

  .ofertas-container {
    gap: 0rem;
  }
}

.back-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 20px;
}

.back-button button {
  padding: 10px 20px;
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
  font-size: 1em;
  color: white;
  background-color: #20699f;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
  text-decoration: none; /* Elimina la subrayado en los enlaces */
}

.back-button button:hover {
  background-color: #268cb5;
  transform: scale(1.05);
}