@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* ---- Espacio blanco ---- */
.espacio-blanco {
  width: 100%;
  height: 70px;
  background-color: #fff;
}

/* ---- Título sección ---- */
.fila-ofertas {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  background-color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  text-align: center;
}

.fila-ofertas .texto-negro { color: #000; font-weight: 700; }
.fila-ofertas .texto-rosa { color: #ff007d; font-weight: 700; }

/* ---- Contenedor de ofertas ---- */
.ofertas-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: #fff;
  gap: 1%;
  flex-wrap: nowrap;
  padding: 20px 0;
}

/* ---- Cada bloque de oferta ---- */
.oferta {
  width: 24%;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oferta .descripcion {
  font-size: 18px;
  font-weight: 500;
  min-height: 60px;
  margin-bottom: 10px;
}

.oferta img {
  width: 100%;
  height: auto;
  border: none;
  transition: transform 0.3s ease;
}

.oferta a:hover img {
  transform: scale(1.03);
}

.oferta .precio {
  font-size: 22px;
  font-weight: 700;
  color: #ff007d;
  margin-top: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ofertas-grid {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .oferta {
    width: 85%;
  }

  .oferta .descripcion {
    font-size: 16px;
  }

  .oferta .precio {
    font-size: 20px;
  }

  .fila-ofertas {
    flex-direction: column;
    font-size: 28px;
    padding: 10px 0;
  }
}

@media (max-width: 500px) {
  .oferta {
    width: 95%;
  }

  .fila-ofertas {
    font-size: 22px;
  }

  .oferta .descripcion {
    font-size: 15px;
  }

  .oferta .precio {
    font-size: 18px;
  }
}
