Precio:<\/strong>\s*([\d\.,]+)\s*CLP<\/p>/i', $contenido, $matchesPrecio);
$precio = $matchesPrecio[1] ?? "N/D";
// Extraer la primera imagen
preg_match('/]*src=[\'"]([^\'"]+)[\'"]/i', $contenido, $matchesImg);
$imgSrc = $matchesImg[1] ?? "";
echo "";
}
?>